Title: [176839] trunk/Source/WebCore
Revision
176839
Author
[email protected]
Date
2014-12-05 00:11:27 -0800 (Fri, 05 Dec 2014)

Log Message

GraphicsLayerTextureMapper: Rename parameter to be more clear
https://bugs.webkit.org/show_bug.cgi?id=139288

Patch by sungmin cho <[email protected]> on 2014-12-05
Reviewed by Martin Robinson.

Rename 'media' to 'platformLayer'.

No new tests, no change in functionality.

* platform/graphics/texmap/GraphicsLayerTextureMapper.cpp:
(WebCore::GraphicsLayerTextureMapper::setContentsToPlatformLayer):

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (176838 => 176839)


--- trunk/Source/WebCore/ChangeLog	2014-12-05 07:46:11 UTC (rev 176838)
+++ trunk/Source/WebCore/ChangeLog	2014-12-05 08:11:27 UTC (rev 176839)
@@ -1,3 +1,17 @@
+2014-12-05  sungmin cho  <[email protected]>
+
+        GraphicsLayerTextureMapper: Rename parameter to be more clear
+        https://bugs.webkit.org/show_bug.cgi?id=139288
+
+        Reviewed by Martin Robinson.
+
+        Rename 'media' to 'platformLayer'.
+
+        No new tests, no change in functionality.
+
+        * platform/graphics/texmap/GraphicsLayerTextureMapper.cpp:
+        (WebCore::GraphicsLayerTextureMapper::setContentsToPlatformLayer):
+
 2014-12-04  Mark Rowe  <[email protected]>
 
         Fix pre-Yosemite builds.

Modified: trunk/Source/WebCore/platform/graphics/texmap/GraphicsLayerTextureMapper.cpp (176838 => 176839)


--- trunk/Source/WebCore/platform/graphics/texmap/GraphicsLayerTextureMapper.cpp	2014-12-05 07:46:11 UTC (rev 176838)
+++ trunk/Source/WebCore/platform/graphics/texmap/GraphicsLayerTextureMapper.cpp	2014-12-05 08:11:27 UTC (rev 176839)
@@ -311,18 +311,18 @@
     GraphicsLayer::setContentsToImage(image);
 }
 
-void GraphicsLayerTextureMapper::setContentsToPlatformLayer(TextureMapperPlatformLayer* media, ContentsLayerPurpose purpose)
+void GraphicsLayerTextureMapper::setContentsToPlatformLayer(TextureMapperPlatformLayer* platformLayer, ContentsLayerPurpose purpose)
 {
-    if (media == m_contentsLayer)
+    if (platformLayer == m_contentsLayer)
         return;
 
-    GraphicsLayer::setContentsToPlatformLayer(media, purpose);
+    GraphicsLayer::setContentsToPlatformLayer(platformLayer, purpose);
     notifyChange(ContentChange);
 
     if (m_contentsLayer)
         m_contentsLayer->setClient(0);
 
-    m_contentsLayer = media;
+    m_contentsLayer = platformLayer;
 
     if (m_contentsLayer)
         m_contentsLayer->setClient(this);
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to