Attempt to fix the Windows build after r160672.
authorsimon.fraser@apple.com <simon.fraser@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 17 Dec 2013 00:55:47 +0000 (00:55 +0000)
committersimon.fraser@apple.com <simon.fraser@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 17 Dec 2013 00:55:47 +0000 (00:55 +0000)
* platform/graphics/ca/win/PlatformCALayerWin.cpp:
(PlatformCALayerWin::PlatformCALayerWin):
* platform/graphics/ca/win/PlatformCALayerWin.h:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@160677 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 bf45cb4..b39f7d7 100644 (file)
@@ -1,5 +1,13 @@
 2013-12-16  Simon Fraser  <simon.fraser@apple.com>
 
+        Attempt to fix the Windows build after r160672.
+        
+        * platform/graphics/ca/win/PlatformCALayerWin.cpp:
+        (PlatformCALayerWin::PlatformCALayerWin):
+        * platform/graphics/ca/win/PlatformCALayerWin.h:
+
+2013-12-16  Simon Fraser  <simon.fraser@apple.com>
+
         Apply overhang shadow and linen to UI-side layers
         https://bugs.webkit.org/show_bug.cgi?id=125807
 
index 8cc2d88..18be867 100644 (file)
@@ -109,6 +109,7 @@ static void layoutSublayersProc(CACFLayerRef caLayer)
 
 PlatformCALayerWin::PlatformCALayerWin(LayerType layerType, PlatformLayer* layer, PlatformCALayerClient* owner)
     : PlatformCALayer(layer ? LayerTypeCustom : layerType, owner)
+    , m_customAppearance(GraphicsLayer::NoCustomAppearance)
 {
     if (layer) {
         m_layer = layer;
index 88b2e4f..5fe9794 100644 (file)
@@ -128,6 +128,9 @@ public:
 
     virtual void setEdgeAntialiasingMask(unsigned) OVERRIDE { ASSERT_NOT_REACHED(); }
 
+    virtual GraphicsLayer::CustomAppearance customAppearance() const OVERRIDE { return m_customAppearance; }
+    virtual void updateCustomAppearance(GraphicsLayer::CustomAppearance customAppearance) OVERRIDE { m_customAppearance = customAppearance; }
+
     virtual TiledBacking* tiledBacking() OVERRIDE { return nullptr; }
     
     virtual PlatformCALayer* rootLayer() const OVERRIDE;
@@ -146,6 +149,7 @@ private:
     PlatformCALayerWin(LayerType, PlatformLayer*, PlatformCALayerClient* owner);
 
     HashMap<String, RefPtr<PlatformCAAnimation>> m_animations;
+    GraphicsLayer::CustomAppearance m_customAppearance;
 };
 
 }