| Index: Source/core/workers/WorkerThread.cpp
|
| diff --git a/Source/core/workers/WorkerThread.cpp b/Source/core/workers/WorkerThread.cpp
|
| index 946b5c192ed383aca7672c696bf10210eaa5c43c..c60511544ab3c579e55ce404dcde5ef77705a1b8 100644
|
| --- a/Source/core/workers/WorkerThread.cpp
|
| +++ b/Source/core/workers/WorkerThread.cpp
|
| @@ -35,7 +35,6 @@
|
| #include "core/workers/WorkerReportingProxy.h"
|
| #include "core/workers/WorkerThreadStartupData.h"
|
| #include "heap/ThreadState.h"
|
| -#include "modules/webdatabase/DatabaseManager.h"
|
| #include "platform/PlatformThreadData.h"
|
| #include "platform/weborigin/KURL.h"
|
| #include "public/platform/Platform.h"
|
| @@ -219,8 +218,7 @@ void WorkerThread::stop()
|
| // Ensure that tasks are being handled by thread event loop. If script execution weren't forbidden, a while(1) loop in JS could keep the thread alive forever.
|
| if (m_workerGlobalScope) {
|
| m_workerGlobalScope->script()->scheduleExecutionTermination();
|
| -
|
| - DatabaseManager::manager().interruptAllDatabasesForContext(m_workerGlobalScope.get());
|
| + m_workerGlobalScope->willStopActiveDOMObjects();
|
| m_runLoop.postTaskAndTerminate(WorkerThreadShutdownStartTask::create());
|
| return;
|
| }
|
|
|