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

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

Issue 1744973002: Make AbstractWorker a ContextLifecycleObserver rather than an ActiveDOMObject (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 10 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/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 f60bda9eb7c27a23325671cc06744bdfd30bf5ca..324670556987ffee6f59a3ce241c61c8501d5326 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)
- : ActiveDOMObject(context)
+ : ContextLifecycleObserver(context)
{
}
@@ -73,7 +73,7 @@ KURL AbstractWorker::resolveURL(const String& url, ExceptionState& exceptionStat
DEFINE_TRACE(AbstractWorker)
{
RefCountedGarbageCollectedEventTargetWithInlineData<AbstractWorker>::trace(visitor);
- ActiveDOMObject::trace(visitor);
+ ContextLifecycleObserver::trace(visitor);
}
} // namespace blink

Powered by Google App Engine
This is Rietveld 408576698