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

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

Issue 2583093002: Reduce SuspendableObjects (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/AbstractWorker.cpp
diff --git a/third_party/WebKit/Source/core/workers/AbstractWorker.cpp b/third_party/WebKit/Source/core/workers/AbstractWorker.cpp
index b278a5fd4f8da8cc251f5f24828cb9a5deccc208..2cc20f4a8c19acb1a1c4b8bf22b94a671ec868c9 100644
--- a/third_party/WebKit/Source/core/workers/AbstractWorker.cpp
+++ b/third_party/WebKit/Source/core/workers/AbstractWorker.cpp
@@ -39,7 +39,7 @@
namespace blink {
AbstractWorker::AbstractWorker(ExecutionContext* context)
- : SuspendableObject(context) {}
+ : ContextLifecycleObserver(context) {}
AbstractWorker::~AbstractWorker() {}
@@ -84,7 +84,7 @@ KURL AbstractWorker::resolveURL(const String& url,
DEFINE_TRACE(AbstractWorker) {
EventTargetWithInlineData::trace(visitor);
- SuspendableObject::trace(visitor);
+ ContextLifecycleObserver::trace(visitor);
}
} // namespace blink

Powered by Google App Engine
This is Rietveld 408576698