Remove "layer" from GraphicsLayerCA member function names
authorsimon.fraser@apple.com <simon.fraser@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 24 Apr 2015 04:05:58 +0000 (04:05 +0000)
committersimon.fraser@apple.com <simon.fraser@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 24 Apr 2015 04:05:58 +0000 (04:05 +0000)
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:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@183241 268f45cc-cd09-0410-ab3c-d52691b4dbfc

Source/WebCore/ChangeLog
Source/WebCore/platform/graphics/ca/GraphicsLayerCA.cpp
Source/WebCore/platform/graphics/ca/GraphicsLayerCA.h

index d5eb5d7..d3dd5a8 100644 (file)
@@ -1,3 +1,20 @@
+2015-04-23  Simon Fraser  <simon.fraser@apple.com>
+
+        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  <mitz@apple.com>
 
         <rdar://problem/20663758> Fix the build after AVPlayerViewController API change
index 09ba0d7..68fbaad 100644 (file)
@@ -1390,10 +1390,10 @@ void GraphicsLayerCA::commitLayerChangesBeforeSublayers(CommitState& commitState
         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 @@ void GraphicsLayerCA::commitLayerChangesAfterSublayers(CommitState& commitState)
     m_uncommittedChanges = NoChange;
 }
 
-void GraphicsLayerCA::updateLayerNames()
+void GraphicsLayerCA::updateNames()
 {
     switch (structuralLayerPurpose()) {
     case StructuralLayerForPreserves3D:
@@ -1916,7 +1916,7 @@ GraphicsLayerCA::StructuralLayerPurpose GraphicsLayerCA::structuralLayerPurpose(
     return NoStructuralLayer;
 }
 
-void GraphicsLayerCA::updateLayerDrawsContent()
+void GraphicsLayerCA::updateDrawsContent()
 {
     if (m_drawsContent)
         m_layer->setNeedsDisplay();
index 68f9995..40f6c97 100644 (file)
@@ -352,7 +352,7 @@ private:
     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 @@ private:
     void updateContentsOpaque(float pageScaleFactor);
     void updateBackfaceVisibility();
     void updateStructuralLayer();
-    void updateLayerDrawsContent();
+    void updateDrawsContent();
     void updateBackgroundColor();
 
     void updateContentsImage();