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

Unified Diff: third_party/WebKit/Source/web/SuspendableScriptExecutor.cpp

Issue 2629593004: Disambiguate LifecycleObserver::contextDestroyed (Closed)
Patch Set: temp Created 3 years, 11 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/web/SuspendableScriptExecutor.cpp
diff --git a/third_party/WebKit/Source/web/SuspendableScriptExecutor.cpp b/third_party/WebKit/Source/web/SuspendableScriptExecutor.cpp
index 1f41b5ef685e47c8b82dc0a267af1119598b265e..0bb79ca755973c0b40399e3f03438136258be73b 100644
--- a/third_party/WebKit/Source/web/SuspendableScriptExecutor.cpp
+++ b/third_party/WebKit/Source/web/SuspendableScriptExecutor.cpp
@@ -165,8 +165,9 @@ void SuspendableScriptExecutor::createAndRun(
executor->run();
}
-void SuspendableScriptExecutor::contextDestroyed() {
- SuspendableTimer::contextDestroyed();
+void SuspendableScriptExecutor::contextDestroyed(
+ ExecutionContext* destroyedContext) {
+ SuspendableTimer::contextDestroyed(destroyedContext);
if (m_callback)
m_callback->completed(Vector<v8::Local<v8::Value>>());
dispose();

Powered by Google App Engine
This is Rietveld 408576698