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

Unified Diff: content/renderer/media/android/webmediaplayer_android.cc

Issue 2530443002: Fix OnChannelError() in StreamTextureHost (Closed)
Patch Set: Addressed comments Created 4 years, 1 month 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 | « content/renderer/media/android/stream_texture_wrapper_impl.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/renderer/media/android/webmediaplayer_android.cc
diff --git a/content/renderer/media/android/webmediaplayer_android.cc b/content/renderer/media/android/webmediaplayer_android.cc
index 518a138d6a73bdcd90be7a9b93181e4b16c6ebe9..48f358c90dd5f266eb9237bbf6aa9e5debe1f969 100644
--- a/content/renderer/media/android/webmediaplayer_android.cc
+++ b/content/renderer/media/android/webmediaplayer_android.cc
@@ -1148,8 +1148,8 @@ void WebMediaPlayerAndroid::TryCreateStreamTextureProxyIfNeeded() {
return;
DCHECK(!texture_id_);
- stream_texture_proxy_.reset(stream_texture_factory_->CreateProxy(
- kGLTextureExternalOES, &texture_id_, &texture_mailbox_));
+ stream_texture_proxy_ = stream_texture_factory_->CreateProxy(
+ kGLTextureExternalOES, &texture_id_, &texture_mailbox_);
if (!stream_texture_proxy_)
return;
ReallocateVideoFrame();
« no previous file with comments | « content/renderer/media/android/stream_texture_wrapper_impl.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698