| Index: Source/platform/graphics/Canvas2DLayerManagerTest.cpp
|
| diff --git a/Source/platform/graphics/Canvas2DLayerManagerTest.cpp b/Source/platform/graphics/Canvas2DLayerManagerTest.cpp
|
| index 7befe9c610a69e329aee963a6fad198ce9f70bf9..f055c193e36f29af2c2934b7c32699a70c309d5c 100644
|
| --- a/Source/platform/graphics/Canvas2DLayerManagerTest.cpp
|
| +++ b/Source/platform/graphics/Canvas2DLayerManagerTest.cpp
|
| @@ -237,11 +237,11 @@ protected:
|
| void doDeferredFrameTestTask(FakeCanvas2DLayerBridge* layer, bool skipCommands)
|
| {
|
| EXPECT_FALSE(Canvas2DLayerManager::get().m_taskObserverActive);
|
| - layer->willUse();
|
| + layer->didDraw();
|
| layer->storageAllocatedForRecordingChanged(1);
|
| EXPECT_TRUE(Canvas2DLayerManager::get().m_taskObserverActive);
|
| if (skipCommands) {
|
| - layer->willUse();
|
| + layer->didDraw();
|
| layer->skippedPendingDrawCommands();
|
| }
|
| blink::Platform::current()->currentThread()->exitRunLoop();
|
|
|