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

Unified Diff: content/renderer/media/android/stream_texture_wrapper_impl.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
Index: content/renderer/media/android/stream_texture_wrapper_impl.cc
diff --git a/content/renderer/media/android/stream_texture_wrapper_impl.cc b/content/renderer/media/android/stream_texture_wrapper_impl.cc
index 14156a71bbdb921834aad1cf1253a8211c9863af..b5dbbb7d27c410daa96af42e3a3385d10333c7d8 100644
--- a/content/renderer/media/android/stream_texture_wrapper_impl.cc
+++ b/content/renderer/media/android/stream_texture_wrapper_impl.cc
@@ -160,8 +160,8 @@ void StreamTextureWrapperImpl::InitializeOnMainThread(
DCHECK(main_task_runner_->BelongsToCurrentThread());
DVLOG(2) << __FUNCTION__;
- stream_texture_proxy_.reset(factory_->CreateProxy(
- kGLTextureExternalOES, &texture_id_, &texture_mailbox_));
+ stream_texture_proxy_ = factory_->CreateProxy(
+ kGLTextureExternalOES, &texture_id_, &texture_mailbox_);
if (!stream_texture_proxy_)
return;
« no previous file with comments | « content/renderer/media/android/stream_texture_factory.cc ('k') | content/renderer/media/android/webmediaplayer_android.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698