Chromium Code Reviews| 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.
|
| } |