Title: [194576] trunk/Source/WebCore
- Revision
- 194576
- Author
- [email protected]
- Date
- 2016-01-04 23:37:52 -0800 (Mon, 04 Jan 2016)
Log Message
Shave off a TransformationMatrix copy if RenderLayer's transparencyClipBox()
https://bugs.webkit.org/show_bug.cgi?id=152119
Reviewed by Simon Fraser.
* rendering/RenderLayer.cpp:
(WebCore::transparencyClipBox): Multiply the transformation matrix returned by
layer.transform() directly into the transform object, instead of first
multiplying them and then copying the result back into the transform object.
Modified Paths
Diff
Modified: trunk/Source/WebCore/ChangeLog (194575 => 194576)
--- trunk/Source/WebCore/ChangeLog 2016-01-05 06:41:42 UTC (rev 194575)
+++ trunk/Source/WebCore/ChangeLog 2016-01-05 07:37:52 UTC (rev 194576)
@@ -1,3 +1,15 @@
+2016-01-04 Zan Dobersek <[email protected]>
+
+ Shave off a TransformationMatrix copy if RenderLayer's transparencyClipBox()
+ https://bugs.webkit.org/show_bug.cgi?id=152119
+
+ Reviewed by Simon Fraser.
+
+ * rendering/RenderLayer.cpp:
+ (WebCore::transparencyClipBox): Multiply the transformation matrix returned by
+ layer.transform() directly into the transform object, instead of first
+ multiplying them and then copying the result back into the transform object.
+
2016-01-04 Myles C. Maxfield <[email protected]>
TextBreakIterator uses an internal implementation detail of NSLocale
Modified: trunk/Source/WebCore/rendering/RenderLayer.cpp (194575 => 194576)
--- trunk/Source/WebCore/rendering/RenderLayer.cpp 2016-01-05 06:41:42 UTC (rev 194575)
+++ trunk/Source/WebCore/rendering/RenderLayer.cpp 2016-01-05 07:37:52 UTC (rev 194576)
@@ -1754,7 +1754,7 @@
TransformationMatrix transform;
transform.translate(delta.width(), delta.height());
- transform = transform * *layer.transform();
+ transform.multiply(*layer.transform());
// We don't use fragment boxes when collecting a transformed layer's bounding box, since it always
// paints unfragmented.
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes