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

Unified Diff: third_party/WebKit/Source/core/dom/MessagePort.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/dom/MessagePort.h
diff --git a/third_party/WebKit/Source/core/dom/MessagePort.h b/third_party/WebKit/Source/core/dom/MessagePort.h
index d3fa1e0a15e001a903db3b85cb9e642ecbc52ccd..a988070b06b24f2ff0453f2c05bb8f482c1e9f01 100644
--- a/third_party/WebKit/Source/core/dom/MessagePort.h
+++ b/third_party/WebKit/Source/core/dom/MessagePort.h
@@ -27,6 +27,7 @@
#ifndef MessagePort_h
#define MessagePort_h
+#include "bindings/core/v8/V8GCRoot.h"
#include "core/CoreExport.h"
#include "core/dom/ContextLifecycleObserver.h"
#include "core/events/EventListener.h"
@@ -58,7 +59,8 @@ typedef Vector<OwnPtr<WebMessagePortChannel>, 1> MessagePortChannelArray;
class CORE_EXPORT MessagePort
: public RefCountedGarbageCollectedEventTargetWithInlineData<MessagePort>
, public ContextLifecycleObserver
- , public WebMessagePortChannelClient {
+ , public WebMessagePortChannelClient
+ , public V8GCRoot {
DEFINE_WRAPPERTYPEINFO();
REFCOUNTED_GARBAGE_COLLECTED_EVENT_TARGET(MessagePort);
WILL_BE_USING_GARBAGE_COLLECTED_MIXIN(MessagePort);

Powered by Google App Engine
This is Rietveld 408576698