| Index: third_party/WebKit/Source/core/workers/WorkerThread.cpp
|
| diff --git a/third_party/WebKit/Source/core/workers/WorkerThread.cpp b/third_party/WebKit/Source/core/workers/WorkerThread.cpp
|
| index c3eb7a705d8818c0f17aa15dad94c03c81f9e115..c308776da5d2a26277a483baa5782c60e475b659 100644
|
| --- a/third_party/WebKit/Source/core/workers/WorkerThread.cpp
|
| +++ b/third_party/WebKit/Source/core/workers/WorkerThread.cpp
|
| @@ -267,10 +267,10 @@ void WorkerThread::performShutdownTask()
|
| // The below assignment will destroy the context, which will in turn notify messaging proxy.
|
| // We cannot let any objects survive past thread exit, because no other thread will run GC or otherwise destroy them.
|
| // If Oilpan is enabled, we detach of the context/global scope, with the final heap cleanup below sweeping it out.
|
| + m_workerGlobalScope->notifyContextDestroyed();
|
| #if !ENABLE(OILPAN)
|
| ASSERT(m_workerGlobalScope->hasOneRef());
|
| #endif
|
| - m_workerGlobalScope->notifyContextDestroyed();
|
| m_workerGlobalScope = nullptr;
|
|
|
| willDestroyIsolate();
|
|
|