| Index: Source/platform/graphics/DeferredImageDecoderTest.cpp
|
| diff --git a/Source/platform/graphics/DeferredImageDecoderTest.cpp b/Source/platform/graphics/DeferredImageDecoderTest.cpp
|
| index 5e0ffa6e325e7b8c866ec938458e9c2296bfa490..a2fa511d493c559c5bb95232bc1a6a0a08779053 100644
|
| --- a/Source/platform/graphics/DeferredImageDecoderTest.cpp
|
| +++ b/Source/platform/graphics/DeferredImageDecoderTest.cpp
|
| @@ -226,7 +226,7 @@ TEST_F(DeferredImageDecoderTest, decodeOnOtherThread)
|
|
|
| // Create a thread to rasterize SkPicture.
|
| OwnPtr<WebThread> thread = adoptPtr(Platform::current()->createThread("RasterThread"));
|
| - thread->postTask(FROM_HERE, new Task(threadSafeBind(&rasterizeMain, AllowCrossThreadAccess(m_surface->getCanvas()), AllowCrossThreadAccess(picture.get()))));
|
| + thread->taskRunner()->postTask(FROM_HERE, new Task(threadSafeBind(&rasterizeMain, AllowCrossThreadAccess(m_surface->getCanvas()), AllowCrossThreadAccess(picture.get()))));
|
| thread.clear();
|
| EXPECT_EQ(0, m_decodeRequestCount);
|
|
|
|
|