Unreviewed buildfix after r144787. Add missing USE(GRAPHICS_SURFACE) guards.
authorossy@webkit.org <ossy@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 6 Mar 2013 06:59:07 +0000 (06:59 +0000)
committerossy@webkit.org <ossy@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 6 Mar 2013 06:59:07 +0000 (06:59 +0000)
* platform/graphics/texmap/coordinated/CoordinatedGraphicsScene.cpp:
(WebCore::CoordinatedGraphicsScene::setLayerState):
* platform/graphics/texmap/coordinated/CoordinatedGraphicsState.h:
(WebCore::CoordinatedGraphicsLayerState::CoordinatedGraphicsLayerState):

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

Source/WebCore/ChangeLog
Source/WebCore/platform/graphics/texmap/coordinated/CoordinatedGraphicsScene.cpp
Source/WebCore/platform/graphics/texmap/coordinated/CoordinatedGraphicsState.h

index e58e919..4f3e047 100644 (file)
@@ -1,3 +1,12 @@
+2013-03-05  Csaba Osztrogon√°c  <ossy@webkit.org>
+
+        Unreviewed buildfix after r144787. Add missing USE(GRAPHICS_SURFACE) guards.
+
+        * platform/graphics/texmap/coordinated/CoordinatedGraphicsScene.cpp:
+        (WebCore::CoordinatedGraphicsScene::setLayerState):
+        * platform/graphics/texmap/coordinated/CoordinatedGraphicsState.h:
+        (WebCore::CoordinatedGraphicsLayerState::CoordinatedGraphicsLayerState):
+
 2013-03-05  Geoffrey Garen  <ggaren@apple.com>
 
         Autoreleased cached pages slow down the PLT by 2%
index 9f08053..41e353e 100644 (file)
@@ -376,7 +376,9 @@ void CoordinatedGraphicsScene::setLayerState(CoordinatedLayerID id, const Coordi
     setLayerFiltersIfNeeded(layer, layerState);
 #endif
     setLayerAnimationsIfNeeded(layer, layerState);
+#if USE(GRAPHICS_SURFACE)
     syncCanvasIfNeeded(layer, layerState);
+#endif
     setLayerRepaintCountIfNeeded(layer, layerState);
 }
 
index 2686605..7cc6289 100644 (file)
@@ -126,7 +126,9 @@ struct CoordinatedGraphicsLayerState {
         , replica(InvalidCoordinatedLayerID)
         , mask(InvalidCoordinatedLayerID)
         , imageID(InvalidCoordinatedImageBackingID)
+#if USE(GRAPHICS_SURFACE)
         , canvasFrontBuffer(0)
+#endif
     {
     }