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

Unified Diff: third_party/WebKit/Source/core/workers/InProcessWorkerBase.h

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/InProcessWorkerBase.h
diff --git a/third_party/WebKit/Source/core/workers/InProcessWorkerBase.h b/third_party/WebKit/Source/core/workers/InProcessWorkerBase.h
index 94818b629aa51aba4d8e692c3a822515c070ae09..0d6e76e16b77956ad7837a686ed073582f708609 100644
--- a/third_party/WebKit/Source/core/workers/InProcessWorkerBase.h
+++ b/third_party/WebKit/Source/core/workers/InProcessWorkerBase.h
@@ -6,7 +6,7 @@
#define InProcessWorkerBase_h
#include "core/CoreExport.h"
-#include "core/dom/ActiveDOMObject.h"
+#include "core/dom/ContextLifecycleObserver.h"
#include "core/dom/MessagePort.h"
#include "core/events/EventListener.h"
#include "core/events/EventTarget.h"
@@ -33,8 +33,7 @@ public:
void postMessage(ExecutionContext*, PassRefPtr<SerializedScriptValue> message, const MessagePortArray*, ExceptionState&);
void terminate();
- // ActiveDOMObject
- void stop() override;
+ void contextDestroyed() override;
bool hasPendingActivity() const override;
kinuko 2016/02/29 09:33:52 Can we keep a brief comment for overriding methods
haraken 2016/02/29 10:52:47 Done.
ContentSecurityPolicy* contentSecurityPolicy();

Powered by Google App Engine
This is Rietveld 408576698