diff options
author | Teng-Hui Zhu <ztenghui@google.com> | 2012-05-25 15:56:36 -0700 |
---|---|---|
committer | Android Git Automerger <android-git-automerger@android.com> | 2012-05-25 15:56:36 -0700 |
commit | 05506155eaa4e4528ea3d2b05e6953677c6d3205 (patch) | |
tree | 60a1b0c70c4064d87ceb27ecb27a4e96d17a5054 | |
parent | a0993e9dadfe2ffaa000aa96d160000c5645fa82 (diff) | |
parent | 5ac11a7ed87ada91c7930bb6aa7b32007acb3d47 (diff) | |
download | external_webkit-05506155eaa4e4528ea3d2b05e6953677c6d3205.zip external_webkit-05506155eaa4e4528ea3d2b05e6953677c6d3205.tar.gz external_webkit-05506155eaa4e4528ea3d2b05e6953677c6d3205.tar.bz2 |
am 5ac11a7e: Merge "Fix a browser crash related to HTML5 video." into jb-dev
* commit '5ac11a7ed87ada91c7930bb6aa7b32007acb3d47':
Fix a browser crash related to HTML5 video.
-rw-r--r-- | Source/WebKit/android/WebCoreSupport/MediaPlayerPrivateAndroid.cpp | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/Source/WebKit/android/WebCoreSupport/MediaPlayerPrivateAndroid.cpp b/Source/WebKit/android/WebCoreSupport/MediaPlayerPrivateAndroid.cpp index 155b841..1607b0e 100644 --- a/Source/WebKit/android/WebCoreSupport/MediaPlayerPrivateAndroid.cpp +++ b/Source/WebKit/android/WebCoreSupport/MediaPlayerPrivateAndroid.cpp @@ -29,10 +29,6 @@ #if ENABLE(VIDEO) #include "BaseLayerAndroid.h" -#include "DocumentLoader.h" -#include "Frame.h" -#include "FrameLoader.h" -#include "FrameView.h" #include "GraphicsContext.h" #include "SkiaUtils.h" #include "TilesManager.h" @@ -224,11 +220,6 @@ public: if (!env || !m_url.length() || !m_glue->m_javaProxy) return; - // We only play video fullscreen on Android, so stop sites playing fullscreen video in the onload handler. - Frame* frame = m_player->frameView()->frame(); - if (frame && !frame->loader()->documentLoader()->wasOnloadHandled()) - return; - m_paused = false; m_player->playbackStateChanged(); |