Title: [133605] trunk/Source/WebKit2
- Revision
- 133605
- Author
- commit-qu...@webkit.org
- Date
- 2012-11-06 07:20:42 -0800 (Tue, 06 Nov 2012)
Log Message
Coordinated Graphics: Remove a parent member in WebLayerInfo.
https://bugs.webkit.org/show_bug.cgi?id=101142
Patch by Huang Dongsung <luxte...@company100.net> on 2012-11-06
Reviewed by Noam Rosenthal.
The parent member is not used in UI Process, and GraphicsLayer::setParent is
internally used only, so we don't need to send the parent layer id to UI Process.
* Shared/WebLayerTreeInfo.h:
(WebKit::WebLayerInfo::WebLayerInfo):
* WebProcess/WebPage/CoordinatedGraphics/CoordinatedGraphicsLayer.cpp:
(WebCore::CoordinatedGraphicsLayer::syncLayerState):
Modified Paths
Diff
Modified: trunk/Source/WebKit2/ChangeLog (133604 => 133605)
--- trunk/Source/WebKit2/ChangeLog 2012-11-06 15:16:17 UTC (rev 133604)
+++ trunk/Source/WebKit2/ChangeLog 2012-11-06 15:20:42 UTC (rev 133605)
@@ -1,5 +1,20 @@
2012-11-06 Huang Dongsung <luxte...@company100.net>
+ Coordinated Graphics: Remove a parent member in WebLayerInfo.
+ https://bugs.webkit.org/show_bug.cgi?id=101142
+
+ Reviewed by Noam Rosenthal.
+
+ The parent member is not used in UI Process, and GraphicsLayer::setParent is
+ internally used only, so we don't need to send the parent layer id to UI Process.
+
+ * Shared/WebLayerTreeInfo.h:
+ (WebKit::WebLayerInfo::WebLayerInfo):
+ * WebProcess/WebPage/CoordinatedGraphics/CoordinatedGraphicsLayer.cpp:
+ (WebCore::CoordinatedGraphicsLayer::syncLayerState):
+
+2012-11-06 Huang Dongsung <luxte...@company100.net>
+
Coordinated Graphics: Remove two methods' virtual modifiers in CoordinatedGraphicsLayer.
https://bugs.webkit.org/show_bug.cgi?id=101141
Modified: trunk/Source/WebKit2/Shared/WebLayerTreeInfo.h (133604 => 133605)
--- trunk/Source/WebKit2/Shared/WebLayerTreeInfo.h 2012-11-06 15:16:17 UTC (rev 133604)
+++ trunk/Source/WebKit2/Shared/WebLayerTreeInfo.h 2012-11-06 15:20:42 UTC (rev 133605)
@@ -37,14 +37,12 @@
// NOTE: WebLayerInfo should only use POD types, as to make serialization faster.
struct WebLayerInfo {
WebLayerInfo()
- : parent(InvalidWebLayerID)
- , replica(InvalidWebLayerID)
+ : replica(InvalidWebLayerID)
, mask(InvalidWebLayerID)
, imageBackingStoreID(0)
, opacity(0)
, flags(0) { }
- WebLayerID parent;
WebLayerID replica;
WebLayerID mask;
int64_t imageBackingStoreID;
Modified: trunk/Source/WebKit2/WebProcess/WebPage/CoordinatedGraphics/CoordinatedGraphicsLayer.cpp (133604 => 133605)
--- trunk/Source/WebKit2/WebProcess/WebPage/CoordinatedGraphics/CoordinatedGraphicsLayer.cpp 2012-11-06 15:16:17 UTC (rev 133604)
+++ trunk/Source/WebKit2/WebProcess/WebPage/CoordinatedGraphics/CoordinatedGraphicsLayer.cpp 2012-11-06 15:20:42 UTC (rev 133605)
@@ -476,7 +476,6 @@
m_layerInfo.mask = toWebLayerID(maskLayer());
m_layerInfo.masksToBounds = masksToBounds();
m_layerInfo.opacity = opacity();
- m_layerInfo.parent = toWebLayerID(parent());
m_layerInfo.pos = position();
m_layerInfo.preserves3D = preserves3D();
m_layerInfo.replica = toWebLayerID(replicaLayer());
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
http://lists.webkit.org/mailman/listinfo/webkit-changes