Title: [92350] trunk/Source/WebKit/win
- Revision
- 92350
- Author
- tk...@chromium.org
- Date
- 2011-08-03 22:34:55 -0700 (Wed, 03 Aug 2011)
Log Message
[Windows] Fix build without ENABLE_VIDEO.
* WebView.cpp:
(WebView::enterFullscreenForNode):
Modified Paths
Diff
Modified: trunk/Source/WebKit/win/ChangeLog (92349 => 92350)
--- trunk/Source/WebKit/win/ChangeLog 2011-08-04 04:40:11 UTC (rev 92349)
+++ trunk/Source/WebKit/win/ChangeLog 2011-08-04 05:34:55 UTC (rev 92350)
@@ -1,5 +1,12 @@
2011-08-03 Kent Tamura <tk...@chromium.org>
+ [Windows] Fix build without ENABLE_VIDEO.
+
+ * WebView.cpp:
+ (WebView::enterFullscreenForNode):
+
+2011-08-03 Kent Tamura <tk...@chromium.org>
+
Fix incorrect checks for HTMLMediaElement
https://bugs.webkit.org/show_bug.cgi?id=65590
Modified: trunk/Source/WebKit/win/WebView.cpp (92349 => 92350)
--- trunk/Source/WebKit/win/WebView.cpp 2011-08-04 04:40:11 UTC (rev 92349)
+++ trunk/Source/WebKit/win/WebView.cpp 2011-08-04 05:34:55 UTC (rev 92350)
@@ -6137,10 +6137,12 @@
void WebView::enterFullscreenForNode(Node* node)
{
- if (!node->hasTagName(HTMLNames::videoTag) || !node->isElementNode() || !static_cast<Element*>(node)->isMediaElement())
+ if (!node->hasTagName(HTMLNames::videoTag) || !node->isElementNode())
return;
#if ENABLE(VIDEO)
+ if (!static_cast<Element*>(node)->isMediaElement())
+ return;
HTMLMediaElement* videoElement = static_cast<HTMLMediaElement*>(node);
if (m_fullScreenVideoController) {
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
http://lists.webkit.org/mailman/listinfo.cgi/webkit-changes