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

Unified Diff: remoting/client/plugin/chromoting_instance.cc

Issue 2101833002: [Remoting Android] DisplayUpdaterFactory cleanups (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 6 months 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: remoting/client/plugin/chromoting_instance.cc
diff --git a/remoting/client/plugin/chromoting_instance.cc b/remoting/client/plugin/chromoting_instance.cc
index 9a961d928e9dc2c2ed69f65797ae07430f4dc8d6..729f4406071c1149a3fd3286d57eebeb9426bfaf 100644
--- a/remoting/client/plugin/chromoting_instance.cc
+++ b/remoting/client/plugin/chromoting_instance.cc
@@ -633,7 +633,7 @@ void ChromotingInstance::HandleConnect(const base::DictionaryValue& data) {
// Try initializing 3D video renderer.
video_renderer_.reset(new PepperVideoRenderer3D());
- if (!video_renderer_->Initialize(this, context_, this, &perf_tracker_))
+ if (!video_renderer_->InitializePepper(this, context_, this, &perf_tracker_))
video_renderer_.reset();
// If we didn't initialize 3D renderer then use the 2D renderer.
@@ -641,7 +641,8 @@ void ChromotingInstance::HandleConnect(const base::DictionaryValue& data) {
LOG(WARNING)
<< "Failed to initialize 3D renderer. Using 2D renderer instead.";
video_renderer_.reset(new PepperVideoRenderer2D());
- if (!video_renderer_->Initialize(this, context_, this, &perf_tracker_))
+ if (!video_renderer_->InitializePepper(this, context_, this,
+ &perf_tracker_))
video_renderer_.reset();
Sergey Ulanov 2016/06/28 17:59:50 add {}
Yuwei 2016/06/28 18:46:06 Done.
}

Powered by Google App Engine
This is Rietveld 408576698