Fix Windows build.
authorsimon.fraser@apple.com <simon.fraser@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 24 Apr 2015 04:52:27 +0000 (04:52 +0000)
committersimon.fraser@apple.com <simon.fraser@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 24 Apr 2015 04:52:27 +0000 (04:52 +0000)
* platform/graphics/ca/win/PlatformCALayerWin.cpp:
(PlatformCALayerWin::setBackingStoreAttached):
(PlatformCALayerWin::backingStoreAttached):
* platform/graphics/ca/win/PlatformCALayerWin.h:

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

Source/WebCore/ChangeLog
Source/WebCore/platform/graphics/ca/win/PlatformCALayerWin.cpp
Source/WebCore/platform/graphics/ca/win/PlatformCALayerWin.h

index 0a1b047..1c689b5 100644 (file)
@@ -1,5 +1,14 @@
 2015-04-23  Simon Fraser  <simon.fraser@apple.com>
 
+        Fix Windows build.
+
+        * platform/graphics/ca/win/PlatformCALayerWin.cpp:
+        (PlatformCALayerWin::setBackingStoreAttached):
+        (PlatformCALayerWin::backingStoreAttached):
+        * platform/graphics/ca/win/PlatformCALayerWin.h:
+
+2015-04-23  Simon Fraser  <simon.fraser@apple.com>
+
         Make it possible to detach GraphicsLayerCA backing store
         https://bugs.webkit.org/show_bug.cgi?id=144140
 
index 1be08df..f636f70 100644 (file)
@@ -428,6 +428,15 @@ void PlatformCALayerWin::setHidden(bool value)
     setNeedsCommit();
 }
 
+void PlatformCALayerWin::setBackingStoreAttached(bool)
+{
+}
+
+bool PlatformCALayerWin::backingStoreAttached() const
+{
+    return true;
+}
+
 void PlatformCALayerWin::setGeometryFlipped(bool value)
 {
     CACFLayerSetGeometryFlipped(m_layer.get(), value);
index 5d2ec90..6c575e6 100644 (file)
@@ -80,6 +80,9 @@ public:
 
     virtual void setHidden(bool) override;
 
+    virtual void setBackingStoreAttached(bool) override;
+    virtual bool backingStoreAttached() const override;
+
     virtual void setGeometryFlipped(bool) override;
 
     virtual bool isDoubleSided() const override;