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

Unified Diff: third_party/WebKit/Source/bindings/core/v8/ScriptPromiseResolver.h

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/bindings/core/v8/ScriptPromiseResolver.h
diff --git a/third_party/WebKit/Source/bindings/core/v8/ScriptPromiseResolver.h b/third_party/WebKit/Source/bindings/core/v8/ScriptPromiseResolver.h
index 130ced8b999e0a4bda6ec8e4d5b1a3747cb84d04..a07e16d4494ed318ad780380a74845134ad4caf6 100644
--- a/third_party/WebKit/Source/bindings/core/v8/ScriptPromiseResolver.h
+++ b/third_party/WebKit/Source/bindings/core/v8/ScriptPromiseResolver.h
@@ -88,7 +88,7 @@ class CORE_EXPORT ScriptPromiseResolver
// ActiveDOMObject implementation.
void suspend() override;
void resume() override;
- void stop() override { detach(); }
+ void contextDestroyed() override { detach(); }
// Calling this function makes the resolver release its internal resources.
// That means the associated promise will never be resolved or rejected

Powered by Google App Engine
This is Rietveld 408576698