Title: [93043] trunk/Source/WebCore
Revision
93043
Author
aro...@apple.com
Date
2011-08-15 08:01:50 -0700 (Mon, 15 Aug 2011)

Log Message

Rename an instance of pageScaleFactorChanged I missed in r93040

I tried to make a test for this but failed. It would probably have been easier if we dumped
layers' content scales in layerTreeAsText output.

Followup to <http://webkit.org/b/55787> WebKit uses multiple conflicting names to refer to
the device scale factor

* platform/graphics/ca/GraphicsLayerCA.cpp:
(WebCore::GraphicsLayerCA::deviceOrPageScaleFactorChanged):
* platform/graphics/ca/GraphicsLayerCA.h:
Renamed from pageScaleFactorChanged to match the base class.

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (93042 => 93043)


--- trunk/Source/WebCore/ChangeLog	2011-08-15 14:32:41 UTC (rev 93042)
+++ trunk/Source/WebCore/ChangeLog	2011-08-15 15:01:50 UTC (rev 93043)
@@ -1,3 +1,18 @@
+2011-08-15  Adam Roben  <aro...@apple.com>
+
+        Rename an instance of pageScaleFactorChanged I missed in r93040
+
+        I tried to make a test for this but failed. It would probably have been easier if we dumped
+        layers' content scales in layerTreeAsText output.
+
+        Followup to <http://webkit.org/b/55787> WebKit uses multiple conflicting names to refer to
+        the device scale factor
+
+        * platform/graphics/ca/GraphicsLayerCA.cpp:
+        (WebCore::GraphicsLayerCA::deviceOrPageScaleFactorChanged):
+        * platform/graphics/ca/GraphicsLayerCA.h:
+        Renamed from pageScaleFactorChanged to match the base class.
+
 2011-08-15  Pavel Feldman  <pfeld...@google.com>
 
         Web Inspector: [V8] crash upon stepIn while not on pause.

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


--- trunk/Source/WebCore/platform/graphics/ca/GraphicsLayerCA.cpp	2011-08-15 14:32:41 UTC (rev 93042)
+++ trunk/Source/WebCore/platform/graphics/ca/GraphicsLayerCA.cpp	2011-08-15 15:01:50 UTC (rev 93043)
@@ -2485,7 +2485,7 @@
     noteChangesForScaleSensitiveProperties();
 }
 
-void GraphicsLayerCA::pageScaleFactorChanged()
+void GraphicsLayerCA::deviceOrPageScaleFactorChanged()
 {
     noteChangesForScaleSensitiveProperties();
 }

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


--- trunk/Source/WebCore/platform/graphics/ca/GraphicsLayerCA.h	2011-08-15 14:32:41 UTC (rev 93042)
+++ trunk/Source/WebCore/platform/graphics/ca/GraphicsLayerCA.h	2011-08-15 15:01:50 UTC (rev 93043)
@@ -122,7 +122,7 @@
     virtual void layerDidDisplay(PlatformLayer*);
 
     virtual void setMaintainsPixelAlignment(bool);
-    virtual void pageScaleFactorChanged();
+    virtual void deviceOrPageScaleFactorChanged();
 
     void recursiveCommitChanges(const TransformState&, float pageScaleFactor = 1, const FloatPoint& positionRelativeToBase = FloatPoint(), bool affectedByPageScale = false);
 
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
http://lists.webkit.org/mailman/listinfo.cgi/webkit-changes

Reply via email to