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

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

Issue 1133713008: [WIP] Migrate hasPendingActivity from ActiveDOMObject to ScriptWrappable. Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 5 years, 7 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: Source/core/workers/DedicatedWorkerThread.cpp
diff --git a/Source/core/workers/DedicatedWorkerThread.cpp b/Source/core/workers/DedicatedWorkerThread.cpp
index f7702ba06ea0d0afb53b746b13519db30bfd69fc..cde5669baee9bb1735b044416dc39633e0ceff3f 100644
--- a/Source/core/workers/DedicatedWorkerThread.cpp
+++ b/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(workerGlobalScope()->hasPendingActivity());
+ m_workerObjectProxy.reportPendingActivity(workerGlobalScope()->ContextLifecycleNotifier::hasPendingActivity());
}
} // namespace blink

Powered by Google App Engine
This is Rietveld 408576698