summaryrefslogtreecommitdiffstats
path: root/content/renderer/media
diff options
context:
space:
mode:
authorycheo@chromium.org <ycheo@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-04-11 07:37:29 +0000
committerycheo@chromium.org <ycheo@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-04-11 07:37:29 +0000
commit55ae77e36403e57afdb4d23d590c98d0819e05a1 (patch)
tree979c1aff42332d127fb31ea0ba29de2ed9ff4599 /content/renderer/media
parent69f344bca279a259af31861c21d11b16cbb91ecf (diff)
downloadchromium_src-55ae77e36403e57afdb4d23d590c98d0819e05a1.zip
chromium_src-55ae77e36403e57afdb4d23d590c98d0819e05a1.tar.gz
chromium_src-55ae77e36403e57afdb4d23d590c98d0819e05a1.tar.bz2
Fix the crash during Android WebView instrumentation tests with VIDEO_HOLE.
Review URL: https://codereview.chromium.org/232893002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@263176 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'content/renderer/media')
-rw-r--r--content/renderer/media/android/webmediaplayer_android.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/content/renderer/media/android/webmediaplayer_android.cc b/content/renderer/media/android/webmediaplayer_android.cc
index 4dc4ce0..5e0d668 100644
--- a/content/renderer/media/android/webmediaplayer_android.cc
+++ b/content/renderer/media/android/webmediaplayer_android.cc
@@ -677,7 +677,7 @@ void WebMediaPlayerAndroid::OnVideoSizeChanged(int width, int height) {
needs_external_surface_ = true;
if (!paused() && !manager_->IsInFullscreen(frame_))
manager_->RequestExternalSurface(player_id_, last_computed_rect_);
- } else if (stream_texture_factory_ && !stream_id_) {
+ } else if (stream_texture_proxy_ && !stream_id_) {
// Do deferred stream texture creation finally.
DoCreateStreamTexture();
if (paused()) {