Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge r183887 - RenderLayer::currentTransform computes a pixel snappe…
…d rect it doesn't use. https://bugs.webkit.org/show_bug.cgi?id=144708 Reviewed by Simon Fraser. * rendering/RenderLayer.cpp: (WebCore::RenderLayer::currentTransform): Only compute a pixel snapped rect if we actually end up needing it. The common case is that this rect is not needed, so pushing it inside the two if statements speeds up the common case.
- Loading branch information
1 parent
faa9428
commit 22cb891
Showing
2 changed files
with
17 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters