| 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 fc94bdce70c3594061c505ef9cf0e4ef2eddb425..6e095af319fceee7c5a9873af799c8c86bf6c152 100644
|
| --- a/third_party/WebKit/Source/platform/graphics/Canvas2DLayerBridge.h
|
| +++ b/third_party/WebKit/Source/platform/graphics/Canvas2DLayerBridge.h
|
| @@ -120,6 +120,7 @@ public:
|
| void prepareSurfaceForPaintingIfNeeded();
|
| bool isHidden() { return m_isHidden; }
|
| OpacityMode opacityMode() { return m_opacityMode; }
|
| + void dontUseIdleSchedulingForTesting() { m_dontUseIdleSchedulingForTesting = true; }
|
|
|
| void beginDestruction();
|
| void hibernate();
|
| @@ -259,6 +260,7 @@ private:
|
| bool m_softwareRenderingWhileHidden;
|
| bool m_surfaceCreationFailedAtLeastOnce = false;
|
| bool m_hibernationScheduled = false;
|
| + bool m_dontUseIdleSchedulingForTesting = false;
|
|
|
| friend class Canvas2DLayerBridgeTest;
|
| friend class CanvasRenderingContext2DTest;
|
|
|