Title: [135830] trunk/Source/WebKit2
Revision
135830
Author
commit-qu...@webkit.org
Date
2012-11-27 00:21:08 -0800 (Tue, 27 Nov 2012)

Log Message

Coordinated Graphics: Remove the maskTarget member of CoordinatedGraphicsLayer.
https://bugs.webkit.org/show_bug.cgi?id=103297

Patch by Huang Dongsung <luxte...@company100.net> on 2012-11-27
Reviewed by Noam Rosenthal.

Remove the maskTarget member of CoordinatedGraphicsLayer, which is not used.

* WebProcess/WebPage/CoordinatedGraphics/CoordinatedGraphicsLayer.cpp:
(WebCore::CoordinatedGraphicsLayer::CoordinatedGraphicsLayer):
(WebCore::CoordinatedGraphicsLayer::setMaskLayer):
* WebProcess/WebPage/CoordinatedGraphics/CoordinatedGraphicsLayer.h:
(CoordinatedGraphicsLayer):

Modified Paths

Diff

Modified: trunk/Source/WebKit2/ChangeLog (135829 => 135830)


--- trunk/Source/WebKit2/ChangeLog	2012-11-27 07:53:18 UTC (rev 135829)
+++ trunk/Source/WebKit2/ChangeLog	2012-11-27 08:21:08 UTC (rev 135830)
@@ -1,3 +1,18 @@
+2012-11-27  Huang Dongsung  <luxte...@company100.net>
+
+        Coordinated Graphics: Remove the maskTarget member of CoordinatedGraphicsLayer.
+        https://bugs.webkit.org/show_bug.cgi?id=103297
+
+        Reviewed by Noam Rosenthal.
+
+        Remove the maskTarget member of CoordinatedGraphicsLayer, which is not used.
+
+        * WebProcess/WebPage/CoordinatedGraphics/CoordinatedGraphicsLayer.cpp:
+        (WebCore::CoordinatedGraphicsLayer::CoordinatedGraphicsLayer):
+        (WebCore::CoordinatedGraphicsLayer::setMaskLayer):
+        * WebProcess/WebPage/CoordinatedGraphics/CoordinatedGraphicsLayer.h:
+        (CoordinatedGraphicsLayer):
+
 2012-11-26  Sheriff Bot  <webkit.review....@gmail.com>
 
         Unreviewed, rolling out r135822.

Modified: trunk/Source/WebKit2/WebProcess/WebPage/CoordinatedGraphics/CoordinatedGraphicsLayer.cpp (135829 => 135830)


--- trunk/Source/WebKit2/WebProcess/WebPage/CoordinatedGraphics/CoordinatedGraphicsLayer.cpp	2012-11-27 07:53:18 UTC (rev 135829)
+++ trunk/Source/WebKit2/WebProcess/WebPage/CoordinatedGraphics/CoordinatedGraphicsLayer.cpp	2012-11-27 08:21:08 UTC (rev 135830)
@@ -107,7 +107,6 @@
 
 CoordinatedGraphicsLayer::CoordinatedGraphicsLayer(GraphicsLayerClient* client)
     : GraphicsLayer(client)
-    , m_maskTarget(0)
     , m_inUpdateMode(false)
     , m_shouldUpdateVisibleRect(true)
     , m_shouldSyncLayerState(true)
@@ -394,7 +393,6 @@
     layer->setSize(size());
     layer->setContentsVisible(contentsAreVisible());
     CoordinatedGraphicsLayer* CoordinatedGraphicsLayer = toCoordinatedGraphicsLayer(layer);
-    CoordinatedGraphicsLayer->setMaskTarget(this);
     CoordinatedGraphicsLayer->didChangeLayerState();
     didChangeLayerState();
 

Modified: trunk/Source/WebKit2/WebProcess/WebPage/CoordinatedGraphics/CoordinatedGraphicsLayer.h (135829 => 135830)


--- trunk/Source/WebKit2/WebProcess/WebPage/CoordinatedGraphics/CoordinatedGraphicsLayer.h	2012-11-27 07:53:18 UTC (rev 135829)
+++ trunk/Source/WebKit2/WebProcess/WebPage/CoordinatedGraphics/CoordinatedGraphicsLayer.h	2012-11-27 08:21:08 UTC (rev 135830)
@@ -165,7 +165,6 @@
 
 private:
     bool fixedToViewport() const { return m_fixedToViewport; }
-    void setMaskTarget(GraphicsLayer* layer) { m_maskTarget = layer; }
 
     void didChangeLayerState();
     void didChangeAnimations();
@@ -207,7 +206,6 @@
 
     WebKit::WebLayerID m_id;
     WebKit::WebLayerInfo m_layerInfo;
-    GraphicsLayer* m_maskTarget;
     GraphicsLayerTransform m_layerTransform;
     TransformationMatrix m_cachedInverseTransform;
     bool m_inUpdateMode : 1;
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
http://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to