Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix setPatternPhase to work with squashed layers.
The computation for setPatternPhase does not work if the NSView renders into the CALayer of an ancestor of the NSView. Change the computation to look up through the NSView hierarchy for a view that has a layer, and compute the new phase using the coordinate system of that layer. This is updating a fix that was originally made in r206004 to support the squashed layers enabled in r247098. BUG=245900 Review URL: https://codereview.chromium.org/148243002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@247326 0039d316-1c4b-4281-b951-d872f2087c98
- Loading branch information