blob: 6d457ce787b45bd3540562ca33bfec8354b517fc (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
diff --git a/Source/WebCore/bindings/js/JSHTMLMediaElementCustom.cpp b/Source/WebCore/bindings/js/JSHTMLMediaElementCustom.cpp
index fcbad044..52ad4727 100644
--- a/Source/WebCore/bindings/js/JSHTMLMediaElementCustom.cpp
+++ b/Source/WebCore/bindings/js/JSHTMLMediaElementCustom.cpp
@@ -24,6 +24,9 @@
*/
#include "config.h"
+
+#if ENABLE(VIDEO)
+
#include "JSHTMLMediaElement.h"
#include "TrackOpaqueRoot.h"
@@ -40,3 +43,5 @@ void JSHTMLMediaElement::visitAdditionalChildren(Visitor& visitor)
DEFINE_VISIT_ADDITIONAL_CHILDREN(JSHTMLMediaElement);
} // namespace WebCore
+
+#endif
|