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

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

Issue 2567913002: Rename ActiveDOMObject to SuspendableObject (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
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 4cc7e9246ddaa98a3de74c3172d379f4dddfa938..a44d15db0c01c7f352d5e7f378bbd9ff78dcff93 100644
--- a/third_party/WebKit/Source/core/workers/Worklet.cpp
+++ b/third_party/WebKit/Source/core/workers/Worklet.cpp
@@ -20,7 +20,7 @@
namespace blink {
Worklet::Worklet(LocalFrame* frame)
- : ActiveDOMObject(frame->document()),
+ : SuspendableObject(frame->document()),
m_fetcher(frame->loader().documentLoader()->fetcher()) {}
ScriptPromise Worklet::import(ScriptState* scriptState, const String& url) {
@@ -71,7 +71,7 @@ void Worklet::contextDestroyed() {
DEFINE_TRACE(Worklet) {
visitor->trace(m_fetcher);
visitor->trace(m_scriptLoaders);
- ActiveDOMObject::trace(visitor);
+ SuspendableObject::trace(visitor);
}
} // namespace blink

Powered by Google App Engine
This is Rietveld 408576698