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); |