Title: [91923] trunk/Source/WebCore
Revision
91923
Author
commit-qu...@webkit.org
Date
2011-07-28 07:12:40 -0700 (Thu, 28 Jul 2011)

Log Message

This fixes build without video enabled.
https://bugs.webkit.org/show_bug.cgi?id=65084

Patch by Denis Oliver Kropp <d...@directfb.org> on 2011-07-28
Reviewed by Philippe Normand.

Test with --disable-video.

* dom/EventDispatcher.cpp:
(WebCore::EventDispatcher::determineDispatchBehavior):

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (91922 => 91923)


--- trunk/Source/WebCore/ChangeLog	2011-07-28 14:07:35 UTC (rev 91922)
+++ trunk/Source/WebCore/ChangeLog	2011-07-28 14:12:40 UTC (rev 91923)
@@ -1,3 +1,15 @@
+2011-07-28  Denis Oliver Kropp  <d...@directfb.org>
+
+        This fixes build without video enabled.
+        https://bugs.webkit.org/show_bug.cgi?id=65084
+
+        Reviewed by Philippe Normand.
+
+        Test with --disable-video.
+
+        * dom/EventDispatcher.cpp:
+        (WebCore::EventDispatcher::determineDispatchBehavior):
+
 2011-07-28  Yuta Kitamura  <yu...@chromium.org>
 
         WebSocket: Pass the value of useHixie76Protocol flag to WebSocket object

Modified: trunk/Source/WebCore/dom/EventDispatcher.cpp (91922 => 91923)


--- trunk/Source/WebCore/dom/EventDispatcher.cpp	2011-07-28 14:07:35 UTC (rev 91922)
+++ trunk/Source/WebCore/dom/EventDispatcher.cpp	2011-07-28 14:12:40 UTC (rev 91923)
@@ -378,7 +378,7 @@
 
 EventDispatchBehavior EventDispatcher::determineDispatchBehavior(Event* event, Node* shadowRoot)
 {
-#if ENABLE(FULLSCREEN_API)
+#if ENABLE(FULLSCREEN_API) && ENABLE(VIDEO)
     // Video-only full screen is a mode where we use the shadow DOM as an implementation
     // detail that should not be detectable by the web content.
     if (Element* element = m_node->document()->webkitCurrentFullScreenElement()) {
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
http://lists.webkit.org/mailman/listinfo.cgi/webkit-changes

Reply via email to