[SCM] WebKit Debian packaging branch, debian/experimental, updated. debian/1.3.8-1-1049-g2e11a8e
commit-queue at webkit.org
commit-queue at webkit.org
Fri Jan 21 14:54:28 UTC 2011
The following commit has been merged in the debian/experimental branch:
commit 1341c92fcc95e18a123c001e1bec3bfa975edfd2
Author: commit-queue at webkit.org <commit-queue at webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Date: Tue Jan 4 13:17:46 2011 +0000
2011-01-04 Yi Shen <yi.4.shen at nokia.com>
Reviewed by Simon Hausmann.
Provide an interface to require using fullscreen mediaplayer
https://bugs.webkit.org/show_bug.cgi?id=51133
Only video should be displayed in fullscreen when
requiresFullscreenForVideoPlayback is specified.
No new tests because no client implements requiresFullscreenForVideoPlayback yet.
* html/HTMLMediaElement.cpp:
(WebCore::HTMLMediaElement::updatePlayState):
git-svn-id: http://svn.webkit.org/repository/webkit/trunk@74965 268f45cc-cd09-0410-ab3c-d52691b4dbfc
diff --git a/WebCore/ChangeLog b/WebCore/ChangeLog
index a4cf36c..f00987a 100644
--- a/WebCore/ChangeLog
+++ b/WebCore/ChangeLog
@@ -1,3 +1,18 @@
+2011-01-04 Yi Shen <yi.4.shen at nokia.com>
+
+ Reviewed by Simon Hausmann.
+
+ Provide an interface to require using fullscreen mediaplayer
+ https://bugs.webkit.org/show_bug.cgi?id=51133
+
+ Only video should be displayed in fullscreen when
+ requiresFullscreenForVideoPlayback is specified.
+
+ No new tests because no client implements requiresFullscreenForVideoPlayback yet.
+
+ * html/HTMLMediaElement.cpp:
+ (WebCore::HTMLMediaElement::updatePlayState):
+
2011-01-04 Benjamin Poulain <benjamin.poulain at nokia.com>
Reviewed by Kenneth Rohde Christiansen.
diff --git a/WebCore/html/HTMLMediaElement.cpp b/WebCore/html/HTMLMediaElement.cpp
index 9b56bb8..5442e93 100644
--- a/WebCore/html/HTMLMediaElement.cpp
+++ b/WebCore/html/HTMLMediaElement.cpp
@@ -2109,7 +2109,7 @@ void HTMLMediaElement::updatePlayState()
invalidateCachedTime();
if (playerPaused) {
- if (document() && document()->page() && document()->page()->chrome()->requiresFullscreenForVideoPlayback() && !m_isFullscreen)
+ if (!m_isFullscreen && isVideo() && document() && document()->page() && document()->page()->chrome()->requiresFullscreenForVideoPlayback())
enterFullscreen();
// Set rate before calling play in case the rate was set before the media engine was setup.
--
WebKit Debian packaging
More information about the Pkg-webkit-commits
mailing list