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

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

Issue 1805843002: [v8 gc] Introduce a base class for all objects that can have pending activity (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: updates Created 4 years, 9 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..6e74493a8ca539a0f8f1a4e2e7e9ed7c7cd26cee 100644
--- a/third_party/WebKit/Source/core/workers/InProcessWorkerBase.h
+++ b/third_party/WebKit/Source/core/workers/InProcessWorkerBase.h
@@ -5,6 +5,7 @@
#ifndef InProcessWorkerBase_h
#define InProcessWorkerBase_h
+#include "bindings/core/v8/V8GCRoot.h"
#include "core/CoreExport.h"
#include "core/dom/ActiveDOMObject.h"
#include "core/dom/MessagePort.h"
@@ -26,7 +27,7 @@ class WorkerScriptLoader;
// Base class for workers that operate in the same process as the document that
// creates them.
-class CORE_EXPORT InProcessWorkerBase : public AbstractWorker {
+class CORE_EXPORT InProcessWorkerBase : public AbstractWorker, public V8GCRoot {
public:
~InProcessWorkerBase() override;

Powered by Google App Engine
This is Rietveld 408576698