Title: [183241] trunk/Source/WebCore
Revision
183241
Author
[email protected]
Date
2015-04-23 21:05:58 -0700 (Thu, 23 Apr 2015)

Log Message

Remove "layer" from GraphicsLayerCA member function names
https://bugs.webkit.org/show_bug.cgi?id=144139

Reviewed by Myles Maxfield.

Rename "updateLayer*" to "update*" in GraphicsLayerCA.

* platform/graphics/ca/GraphicsLayerCA.cpp:
(WebCore::GraphicsLayerCA::commitLayerChangesBeforeSublayers):
(WebCore::GraphicsLayerCA::updateNames):
(WebCore::GraphicsLayerCA::updateDrawsContent):
(WebCore::GraphicsLayerCA::updateLayerNames): Deleted.
(WebCore::GraphicsLayerCA::updateLayerDrawsContent): Deleted.
* platform/graphics/ca/GraphicsLayerCA.h:

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (183240 => 183241)


--- trunk/Source/WebCore/ChangeLog	2015-04-24 04:01:12 UTC (rev 183240)
+++ trunk/Source/WebCore/ChangeLog	2015-04-24 04:05:58 UTC (rev 183241)
@@ -1,3 +1,20 @@
+2015-04-23  Simon Fraser  <[email protected]>
+
+        Remove "layer" from GraphicsLayerCA member function names
+        https://bugs.webkit.org/show_bug.cgi?id=144139
+
+        Reviewed by Myles Maxfield.
+
+        Rename "updateLayer*" to "update*" in GraphicsLayerCA.
+
+        * platform/graphics/ca/GraphicsLayerCA.cpp:
+        (WebCore::GraphicsLayerCA::commitLayerChangesBeforeSublayers):
+        (WebCore::GraphicsLayerCA::updateNames):
+        (WebCore::GraphicsLayerCA::updateDrawsContent):
+        (WebCore::GraphicsLayerCA::updateLayerNames): Deleted.
+        (WebCore::GraphicsLayerCA::updateLayerDrawsContent): Deleted.
+        * platform/graphics/ca/GraphicsLayerCA.h:
+
 2015-04-23  Dan Bernstein  <[email protected]>
 
         <rdar://problem/20663758> Fix the build after AVPlayerViewController API change

Modified: trunk/Source/WebCore/platform/graphics/ca/GraphicsLayerCA.cpp (183240 => 183241)


--- trunk/Source/WebCore/platform/graphics/ca/GraphicsLayerCA.cpp	2015-04-24 04:01:12 UTC (rev 183240)
+++ trunk/Source/WebCore/platform/graphics/ca/GraphicsLayerCA.cpp	2015-04-24 04:05:58 UTC (rev 183241)
@@ -1390,10 +1390,10 @@
         updateGeometry(pageScaleFactor, positionRelativeToBase);
 
     if (m_uncommittedChanges & DrawsContentChanged)
-        updateLayerDrawsContent();
+        updateDrawsContent();
 
     if (m_uncommittedChanges & NameChanged)
-        updateLayerNames();
+        updateNames();
 
     if (m_uncommittedChanges & ContentsImageChanged) // Needs to happen before ChildrenChanged
         updateContentsImage();
@@ -1518,7 +1518,7 @@
     m_uncommittedChanges = NoChange;
 }
 
-void GraphicsLayerCA::updateLayerNames()
+void GraphicsLayerCA::updateNames()
 {
     switch (structuralLayerPurpose()) {
     case StructuralLayerForPreserves3D:
@@ -1916,7 +1916,7 @@
     return NoStructuralLayer;
 }
 
-void GraphicsLayerCA::updateLayerDrawsContent()
+void GraphicsLayerCA::updateDrawsContent()
 {
     if (m_drawsContent)
         m_layer->setNeedsDisplay();

Modified: trunk/Source/WebCore/platform/graphics/ca/GraphicsLayerCA.h (183240 => 183241)


--- trunk/Source/WebCore/platform/graphics/ca/GraphicsLayerCA.h	2015-04-24 04:01:12 UTC (rev 183240)
+++ trunk/Source/WebCore/platform/graphics/ca/GraphicsLayerCA.h	2015-04-24 04:05:58 UTC (rev 183241)
@@ -352,7 +352,7 @@
     FloatPoint positionForCloneRootLayer() const;
 
     // All these "update" methods will be called inside a BEGIN_BLOCK_OBJC_EXCEPTIONS/END_BLOCK_OBJC_EXCEPTIONS block.
-    void updateLayerNames();
+    void updateNames();
     void updateSublayerList(bool maxLayerDepthReached = false);
     void updateGeometry(float pixelAlignmentScale, const FloatPoint& positionRelativeToBase);
     void updateTransform();
@@ -362,7 +362,7 @@
     void updateContentsOpaque(float pageScaleFactor);
     void updateBackfaceVisibility();
     void updateStructuralLayer();
-    void updateLayerDrawsContent();
+    void updateDrawsContent();
     void updateBackgroundColor();
 
     void updateContentsImage();
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to