Title: [117158] trunk/Source/WebCore
Revision
117158
Author
[email protected]
Date
2012-05-15 14:21:16 -0700 (Tue, 15 May 2012)

Log Message

Unreviewed build fix [Qt].

Protect the definition of DOMImplementationSupportsTypeClient class with
VIDEO disabled.

* dom/DOMImplementation.cpp:

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (117157 => 117158)


--- trunk/Source/WebCore/ChangeLog	2012-05-15 21:19:13 UTC (rev 117157)
+++ trunk/Source/WebCore/ChangeLog	2012-05-15 21:21:16 UTC (rev 117158)
@@ -1,3 +1,13 @@
+2012-05-15  Jer Noble  <[email protected]>
+
+        Unreviewed build fix [Qt].
+
+        Protect the definition of DOMImplementationSupportsTypeClient class with
+        #if ENABLE(VIDEO) so as not to cause compilation errors on ports with
+        VIDEO disabled.
+
+        * dom/DOMImplementation.cpp:
+
 2012-05-14  Jer Noble  <[email protected]>
 
         Site-specific hack: Disclaim WebM as a supported type on Mac for YouTube.

Modified: trunk/Source/WebCore/dom/DOMImplementation.cpp (117157 => 117158)


--- trunk/Source/WebCore/dom/DOMImplementation.cpp	2012-05-15 21:19:13 UTC (rev 117157)
+++ trunk/Source/WebCore/dom/DOMImplementation.cpp	2012-05-15 21:21:16 UTC (rev 117158)
@@ -67,6 +67,7 @@
     set.add(string);
 }
 
+#if ENABLE(VIDEO)
 class DOMImplementationSupportsTypeClient : public MediaPlayerSupportsTypeClient {
 public:
     DOMImplementationSupportsTypeClient(bool needsHacks, const String& host)
@@ -82,6 +83,7 @@
     bool m_needsHacks;
     String m_host;
 };
+#endif
 
 #if ENABLE(SVG)
 
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo.cgi/webkit-changes

Reply via email to