Index: third_party/WebKit/Source/modules/encryptedmedia/MediaKeys.h |
diff --git a/third_party/WebKit/Source/modules/encryptedmedia/MediaKeys.h b/third_party/WebKit/Source/modules/encryptedmedia/MediaKeys.h |
index bd6c4f1a006947250b1e3cbced37efa797ab62b9..ab690a96f13093cc015e3262bede0a40ce63922b 100644 |
--- a/third_party/WebKit/Source/modules/encryptedmedia/MediaKeys.h |
+++ b/third_party/WebKit/Source/modules/encryptedmedia/MediaKeys.h |
@@ -28,6 +28,7 @@ |
#include "bindings/core/v8/ScriptPromise.h" |
#include "bindings/core/v8/ScriptWrappable.h" |
+#include "bindings/core/v8/V8GCRoot.h" |
#include "core/dom/ActiveDOMObject.h" |
#include "core/dom/DOMArrayPiece.h" |
#include "platform/Timer.h" |
@@ -49,7 +50,7 @@ class WebContentDecryptionModule; |
// References are held by JS and HTMLMediaElement. |
// The WebContentDecryptionModule has the same lifetime as this object. |
-class MediaKeys : public GarbageCollectedFinalized<MediaKeys>, public ActiveDOMObject, public ScriptWrappable { |
+class MediaKeys : public GarbageCollectedFinalized<MediaKeys>, public ActiveDOMObject, public ScriptWrappable, public V8GCRoot { |
WILL_BE_USING_GARBAGE_COLLECTED_MIXIN(MediaKeys); |
DEFINE_WRAPPERTYPEINFO(); |
public: |