| Index: Source/WebKit/chromium/tests/Canvas2DLayerManagerTest.cpp
|
| diff --git a/Source/WebKit/chromium/tests/Canvas2DLayerManagerTest.cpp b/Source/WebKit/chromium/tests/Canvas2DLayerManagerTest.cpp
|
| index a5b2c71ef12e94369dbac82b7d87a985470f2c3e..e64a9ec46d11977b0c9c9700c722898eda3750c3 100644
|
| --- a/Source/WebKit/chromium/tests/Canvas2DLayerManagerTest.cpp
|
| +++ b/Source/WebKit/chromium/tests/Canvas2DLayerManagerTest.cpp
|
| @@ -43,11 +43,12 @@ using testing::Test;
|
| class FakeCanvas2DLayerBridge : public Canvas2DLayerBridge {
|
| public:
|
| FakeCanvas2DLayerBridge(PassRefPtr<GraphicsContext3D> context, SkDeferredCanvas* canvas)
|
| - : Canvas2DLayerBridge(context, canvas, NonOpaque, SingleThread)
|
| + : Canvas2DLayerBridge(context, canvas)
|
| , m_freeableBytes(0)
|
| , m_freeMemoryIfPossibleCount(0)
|
| , m_flushCount(0)
|
| {
|
| + init(NonOpaque, SingleThread);
|
| }
|
|
|
| virtual size_t storageAllocatedForRecording() OVERRIDE
|
| @@ -81,6 +82,10 @@ public:
|
| m_flushCount++;
|
| }
|
|
|
| + virtual bool isValid() OVERRIDE
|
| + {
|
| + return true;
|
| + }
|
| public:
|
| size_t m_freeableBytes;
|
| int m_freeMemoryIfPossibleCount;
|
|
|