| Index: third_party/WebKit/Source/web/tests/SpinLockTest.cpp
|
| diff --git a/third_party/WebKit/Source/web/tests/SpinLockTest.cpp b/third_party/WebKit/Source/web/tests/SpinLockTest.cpp
|
| index 2a5e47dc9bc8f18381235f1d306cc48a614ea5f9..80531c59fa9ca889d6a63ef9299d73fcaa266021 100644
|
| --- a/third_party/WebKit/Source/web/tests/SpinLockTest.cpp
|
| +++ b/third_party/WebKit/Source/web/tests/SpinLockTest.cpp
|
| @@ -83,8 +83,8 @@ TEST(SpinLockTest, Torture)
|
| thread1->getWebTaskRunner()->postTask(BLINK_FROM_HERE, threadSafeBind(&threadMain, AllowCrossThreadAccess(static_cast<char*>(sharedBuffer))));
|
| thread2->getWebTaskRunner()->postTask(BLINK_FROM_HERE, threadSafeBind(&threadMain, AllowCrossThreadAccess(static_cast<char*>(sharedBuffer))));
|
|
|
| - thread1.clear();
|
| - thread2.clear();
|
| + thread1.reset();
|
| + thread2.reset();
|
| }
|
|
|
| } // namespace blink
|
|
|