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(); |
} |