| Index: third_party/WebKit/Source/platform/graphics/DeferredImageDecoderTest.cpp
|
| diff --git a/third_party/WebKit/Source/platform/graphics/DeferredImageDecoderTest.cpp b/third_party/WebKit/Source/platform/graphics/DeferredImageDecoderTest.cpp
|
| index 71ed10c30b260dc641b1105eec4cb3c113a83db7..d7f5d4b6feacc8e2e47c2f4a7cb8324cbdd5a7e5 100644
|
| --- a/third_party/WebKit/Source/platform/graphics/DeferredImageDecoderTest.cpp
|
| +++ b/third_party/WebKit/Source/platform/graphics/DeferredImageDecoderTest.cpp
|
| @@ -246,7 +246,7 @@ TEST_F(DeferredImageDecoderTest, decodeOnOtherThread)
|
| // Create a thread to rasterize SkPicture.
|
| OwnPtr<WebThread> thread = adoptPtr(Platform::current()->createThread("RasterThread"));
|
| thread->getWebTaskRunner()->postTask(BLINK_FROM_HERE, threadSafeBind(&rasterizeMain, AllowCrossThreadAccess(m_surface->getCanvas()), AllowCrossThreadAccess(picture.get())));
|
| - thread.clear();
|
| + thread.reset();
|
| EXPECT_EQ(0, m_decodeRequestCount);
|
|
|
| SkBitmap canvasBitmap;
|
|
|