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

Unified Diff: third_party/WebKit/Source/bindings/core/v8/ScriptPromisePropertyBase.cpp

Issue 2587323004: ScriptPromisePropertyBase should use ContextClient instead of ContextLifecycleObserver (Closed)
Patch Set: Created 4 years 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
« no previous file with comments | « third_party/WebKit/Source/bindings/core/v8/ScriptPromisePropertyBase.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/bindings/core/v8/ScriptPromisePropertyBase.cpp
diff --git a/third_party/WebKit/Source/bindings/core/v8/ScriptPromisePropertyBase.cpp b/third_party/WebKit/Source/bindings/core/v8/ScriptPromisePropertyBase.cpp
index f5ad239e3237681c0349aa1c7c2e129925e7f880..815a3ba495697ed3ade473b056ed1cf907fdb0f6 100644
--- a/third_party/WebKit/Source/bindings/core/v8/ScriptPromisePropertyBase.cpp
+++ b/third_party/WebKit/Source/bindings/core/v8/ScriptPromisePropertyBase.cpp
@@ -17,7 +17,7 @@ namespace blink {
ScriptPromisePropertyBase::ScriptPromisePropertyBase(
ExecutionContext* executionContext,
Name name)
- : ContextLifecycleObserver(executionContext),
+ : ContextClient(executionContext),
m_isolate(toIsolate(executionContext)),
m_name(name),
m_state(Pending) {}
@@ -207,7 +207,7 @@ v8::Local<v8::String> ScriptPromisePropertyBase::resolverName() {
}
DEFINE_TRACE(ScriptPromisePropertyBase) {
- ContextLifecycleObserver::trace(visitor);
+ ContextClient::trace(visitor);
}
} // namespace blink
« no previous file with comments | « third_party/WebKit/Source/bindings/core/v8/ScriptPromisePropertyBase.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698