Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(301)

Unified Diff: Source/WebKit/mac/WebView/WebFullScreenController.mm

Issue 7497054: Merge 92347 (Closed) Base URL: http://svn.webkit.org/repository/webkit/branches/chromium/835/
Patch Set: Created 9 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « Source/WebCore/rendering/RenderThemeWinCE.cpp ('k') | Source/WebKit/win/WebView.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/WebKit/mac/WebView/WebFullScreenController.mm
===================================================================
--- Source/WebKit/mac/WebView/WebFullScreenController.mm (revision 92737)
+++ Source/WebKit/mac/WebView/WebFullScreenController.mm (working copy)
@@ -736,7 +736,7 @@
Node* nextNode = _element.get();
while (nextNode)
{
- if (nextNode->hasTagName(HTMLNames::videoTag)) {
+ if (nextNode->hasTagName(HTMLNames::videoTag) && static_cast<Element*>(nextNode)->isMediaElement()) {
HTMLMediaElement* element = static_cast<HTMLMediaElement*>(nextNode);
if (!element->paused() && !element->ended())
return YES;
« no previous file with comments | « Source/WebCore/rendering/RenderThemeWinCE.cpp ('k') | Source/WebKit/win/WebView.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698