2011-01-12 Chris Marrin <cmarrin@apple.com>
authorcmarrin@apple.com <cmarrin@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 12 Jan 2011 23:12:57 +0000 (23:12 +0000)
committercmarrin@apple.com <cmarrin@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 12 Jan 2011 23:12:57 +0000 (23:12 +0000)
        Unreviewed.

        Fix a build issue from http://trac.webkit.org/changeset/75639.

        * platform/graphics/GraphicsLayer.h:
        (WebCore::GraphicsLayer::contentsScale):
        (WebCore::GraphicsLayer::setContentsScale):

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

Source/WebCore/ChangeLog
Source/WebCore/platform/graphics/GraphicsLayer.h

index 305e645..bc2921b 100644 (file)
@@ -1,5 +1,15 @@
 2011-01-12  Chris Marrin  <cmarrin@apple.com>
 
+        Unreviewed.
+
+        Fix a build issue from http://trac.webkit.org/changeset/75639.
+
+        * platform/graphics/GraphicsLayer.h:
+        (WebCore::GraphicsLayer::contentsScale):
+        (WebCore::GraphicsLayer::setContentsScale):
+
+2011-01-12  Chris Marrin  <cmarrin@apple.com>
+
         Reviewed by Kevin Decker.
 
         Pages with accelerated layers lose subpixel-AA and become blurry when a scale factor is applied
index f3ddea2..5fdf738 100644 (file)
@@ -318,8 +318,8 @@ public:
     
     // Change the scale at which the contents are rendered. Note that contentsScale may not return
     // the same value passed to setContentsScale(), because of clamping and hysteresis.
-    virtual float contentsScale() const = 0;
-    virtual void setContentsScale(float) = 0;
+    virtual float contentsScale() const { return 1; }
+    virtual void setContentsScale(float) { }
 
     void dumpLayer(TextStream&, int indent = 0, LayerTreeAsTextBehavior = LayerTreeAsTextBehaviorNormal) const;