Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(590)

Unified Diff: third_party/WebKit/Source/core/workers/DedicatedWorkerThread.cpp

Issue 2124693002: Worker: Fix broken GC logic on Dedicated Worker while DOMTimer is set (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/Source/core/workers/DedicatedWorkerThread.cpp
diff --git a/third_party/WebKit/Source/core/workers/DedicatedWorkerThread.cpp b/third_party/WebKit/Source/core/workers/DedicatedWorkerThread.cpp
index 371c153f255510d32e4a342caef1e0d9d3f98b89..b94fe7a8e45c95b321470c32edeadf5703b92999 100644
--- a/third_party/WebKit/Source/core/workers/DedicatedWorkerThread.cpp
+++ b/third_party/WebKit/Source/core/workers/DedicatedWorkerThread.cpp
@@ -70,7 +70,7 @@ void DedicatedWorkerThread::postInitialize()
{
// Notify the parent object of our current active state before the event
// loop starts processing tasks.
- m_workerObjectProxy.reportPendingActivity(false);
+ m_workerObjectProxy.reportPendingActivity(toWorkerGlobalScope(globalScope()));
}
} // namespace blink

Powered by Google App Engine
This is Rietveld 408576698