| Index: third_party/WebKit/Source/platform/WebThreadSupportingGC.cpp
|
| diff --git a/third_party/WebKit/Source/platform/WebThreadSupportingGC.cpp b/third_party/WebKit/Source/platform/WebThreadSupportingGC.cpp
|
| index a0d4ad3bf5eeb280bffdb72a93bf93799282a70e..6c7f2cdc59892948860ed27437d02258636d9f61 100644
|
| --- a/third_party/WebKit/Source/platform/WebThreadSupportingGC.cpp
|
| +++ b/third_party/WebKit/Source/platform/WebThreadSupportingGC.cpp
|
| @@ -42,7 +42,7 @@ WebThreadSupportingGC::~WebThreadSupportingGC()
|
| if (ThreadState::current() && m_owningThread) {
|
| // WebThread's destructor blocks until all the tasks are processed.
|
| SafePointScope scope(BlinkGC::HeapPointersOnStack);
|
| - m_owningThread.clear();
|
| + m_owningThread.reset();
|
| }
|
| }
|
|
|
| @@ -58,7 +58,7 @@ void WebThreadSupportingGC::shutdown()
|
| ThreadState::current()->releaseStaticPersistentNodes();
|
| #endif
|
| // Ensure no posted tasks will run from this point on.
|
| - m_gcTaskRunner.clear();
|
| + m_gcTaskRunner.reset();
|
|
|
| // Shutdown the thread (via its scheduler) only when the thread is created
|
| // and is owned by this instance.
|
|
|