| Index: third_party/WebKit/Source/platform/graphics/ImageFrameGeneratorTest.cpp
|
| diff --git a/third_party/WebKit/Source/platform/graphics/ImageFrameGeneratorTest.cpp b/third_party/WebKit/Source/platform/graphics/ImageFrameGeneratorTest.cpp
|
| index 2d75f18c0d477b1f40f2b07087b23153b280b397..74e5a2b15f140262a7f93ea051011f596074a077 100644
|
| --- a/third_party/WebKit/Source/platform/graphics/ImageFrameGeneratorTest.cpp
|
| +++ b/third_party/WebKit/Source/platform/graphics/ImageFrameGeneratorTest.cpp
|
| @@ -186,7 +186,7 @@ TEST_F(ImageFrameGeneratorTest, incompleteDecodeBecomesCompleteMultiThreaded)
|
| addNewData();
|
| OwnPtr<WebThread> thread = adoptPtr(Platform::current()->createThread("DecodeThread"));
|
| thread->getWebTaskRunner()->postTask(BLINK_FROM_HERE, threadSafeBind(&decodeThreadMain, m_generator, m_segmentReader));
|
| - thread.clear();
|
| + thread.reset();
|
| EXPECT_EQ(2, m_decodeRequestCount);
|
| EXPECT_EQ(1, m_decodersDestroyed);
|
|
|
|
|