Index: third_party/WebKit/Source/platform/graphics/Canvas2DLayerBridge.h |
diff --git a/third_party/WebKit/Source/platform/graphics/Canvas2DLayerBridge.h b/third_party/WebKit/Source/platform/graphics/Canvas2DLayerBridge.h |
index 9584567e4a34901f9953c97b4439db6dace9f898..0dd0adee365d5f3f51a9e7dc748a27307886d34b 100644 |
--- a/third_party/WebKit/Source/platform/graphics/Canvas2DLayerBridge.h |
+++ b/third_party/WebKit/Source/platform/graphics/Canvas2DLayerBridge.h |
@@ -72,6 +72,9 @@ class SharedContextRateLimiter; |
#define USE_IOSURFACE_FOR_2D_CANVAS 0 |
#endif |
+// TODO: Fix background rendering and remove this workaround. crbug.com/600386 |
+#define CANVAS2D_BACKGROUND_RENDER_SWITCH_TO_CPU 0 |
+ |
class PLATFORM_EXPORT Canvas2DLayerBridge : public WebExternalTextureLayerClient, public WebThread::TaskObserver, public RefCounted<Canvas2DLayerBridge> { |
WTF_MAKE_NONCOPYABLE(Canvas2DLayerBridge); |
public: |