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

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

Issue 2366253002: Remove ActiveDOMObject::stop() (Closed)
Patch Set: temp Created 4 years, 2 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/Worklet.cpp
diff --git a/third_party/WebKit/Source/core/workers/Worklet.cpp b/third_party/WebKit/Source/core/workers/Worklet.cpp
index 0e6b00da6f5fa86d68c6cd3c64b70a48a9a862af..4cc7e9246ddaa98a3de74c3172d379f4dddfa938 100644
--- a/third_party/WebKit/Source/core/workers/Worklet.cpp
+++ b/third_party/WebKit/Source/core/workers/Worklet.cpp
@@ -58,7 +58,7 @@ void Worklet::notifyFinished(WorkletScriptLoader* scriptLoader) {
m_scriptLoaders.remove(scriptLoader);
}
-void Worklet::stop() {
+void Worklet::contextDestroyed() {
if (isInitialized()) {
workletGlobalScopeProxy()->terminateWorkletGlobalScope();
}

Powered by Google App Engine
This is Rietveld 408576698