| 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 19565bd1afd2e83127ad8df3f855fcc3b1783bde..b14738cf718a35dc492af5b299929ba2531e12b1 100644
|
| --- a/third_party/WebKit/Source/platform/graphics/Canvas2DLayerBridge.h
|
| +++ b/third_party/WebKit/Source/platform/graphics/Canvas2DLayerBridge.h
|
| @@ -53,6 +53,14 @@ class WebGraphicsContext3D;
|
| class WebGraphicsContext3DProvider;
|
| class SharedContextRateLimiter;
|
|
|
| +#if OS(MACOSX)
|
| +// Canvas hibernation is currently disabled on MacOS X due to a bug that causes content loss
|
| +// TODO: Find a better fix for crbug.com/588434
|
| +#define CANVAS2D_HIBERNATION_ENABLED 0
|
| +#else
|
| +#define CANVAS2D_HIBERNATION_ENABLED 1
|
| +#endif
|
| +
|
| class PLATFORM_EXPORT Canvas2DLayerBridge : public WebExternalTextureLayerClient, public WebThread::TaskObserver, public RefCounted<Canvas2DLayerBridge> {
|
| WTF_MAKE_NONCOPYABLE(Canvas2DLayerBridge);
|
| public:
|
|
|