Title: [169086] trunk/Source/WebKit2
- Revision
- 169086
- Author
- [email protected]
- Date
- 2014-05-19 17:18:38 -0700 (Mon, 19 May 2014)
Log Message
PlatformCALayerRemoteCustom properties aren't initialized to match the PlatformLayer
https://bugs.webkit.org/show_bug.cgi?id=133025
Patch by Jeremy Jones <[email protected]> on 2014-05-19
Reviewed by Simon Fraser.
* WebProcess/WebPage/mac/PlatformCALayerRemoteCustom.mm:
(WebKit::PlatformCALayerRemoteCustom::PlatformCALayerRemoteCustom):
Initialize PlatformCALayerRemote properties from the PlatformLayer.
Modified Paths
Diff
Modified: trunk/Source/WebKit2/ChangeLog (169085 => 169086)
--- trunk/Source/WebKit2/ChangeLog 2014-05-20 00:01:12 UTC (rev 169085)
+++ trunk/Source/WebKit2/ChangeLog 2014-05-20 00:18:38 UTC (rev 169086)
@@ -1,3 +1,14 @@
+2014-05-19 Jeremy Jones <[email protected]>
+
+ PlatformCALayerRemoteCustom properties aren't initialized to match the PlatformLayer
+ https://bugs.webkit.org/show_bug.cgi?id=133025
+
+ Reviewed by Simon Fraser.
+
+ * WebProcess/WebPage/mac/PlatformCALayerRemoteCustom.mm:
+ (WebKit::PlatformCALayerRemoteCustom::PlatformCALayerRemoteCustom):
+ Initialize PlatformCALayerRemote properties from the PlatformLayer.
+
2014-05-19 Benjamin Poulain <[email protected]>
[iOS][WK2] When a page relayout on dynamic resize, keep the same relative width in view
Modified: trunk/Source/WebKit2/WebProcess/WebPage/mac/PlatformCALayerRemoteCustom.mm (169085 => 169086)
--- trunk/Source/WebKit2/WebProcess/WebPage/mac/PlatformCALayerRemoteCustom.mm 2014-05-20 00:01:12 UTC (rev 169085)
+++ trunk/Source/WebKit2/WebProcess/WebPage/mac/PlatformCALayerRemoteCustom.mm 2014-05-20 00:18:38 UTC (rev 169086)
@@ -62,6 +62,11 @@
[customLayer web_disableAllActions];
m_providesContents = [customLayer isKindOfClass:NSClassFromString(@"WebGLLayer")];
+
+ properties().position = FloatPoint3D(customLayer.position.x, customLayer.position.y, customLayer.zPosition);
+ properties().anchorPoint = FloatPoint3D(customLayer.anchorPoint.x, customLayer.anchorPoint.y, customLayer.anchorPointZ);
+ properties().bounds = customLayer.bounds;
+ properties().contentsRect = customLayer.contentsRect;
}
PlatformCALayerRemoteCustom::~PlatformCALayerRemoteCustom()
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes