Index: Source/platform/graphics/ImageFrameGeneratorTest.cpp |
diff --git a/Source/platform/graphics/ImageFrameGeneratorTest.cpp b/Source/platform/graphics/ImageFrameGeneratorTest.cpp |
index c4ab8477bd52aa85fc2acffd62964b952c0bca37..d42610275a0d5e9a2ef20760a7517935dbd2c14c 100644 |
--- a/Source/platform/graphics/ImageFrameGeneratorTest.cpp |
+++ b/Source/platform/graphics/ImageFrameGeneratorTest.cpp |
@@ -177,7 +177,7 @@ TEST_F(ImageFrameGeneratorTest, incompleteDecodeBecomesCompleteMultiThreaded) |
setFrameStatus(ImageFrame::FrameComplete); |
addNewData(); |
OwnPtr<WebThread> thread = adoptPtr(Platform::current()->createThread("DecodeThread")); |
- thread->postTask(FROM_HERE, new Task(threadSafeBind(&decodeThreadMain, AllowCrossThreadAccess(m_generator.get())))); |
+ thread->taskRunner()->postTask(FROM_HERE, new Task(threadSafeBind(&decodeThreadMain, AllowCrossThreadAccess(m_generator.get())))); |
thread.clear(); |
EXPECT_EQ(2, m_decodeRequestCount); |
EXPECT_EQ(1, m_decodersDestroyed); |