| Index: content/browser/android/synchronous_compositor_host.cc
|
| diff --git a/content/browser/android/synchronous_compositor_host.cc b/content/browser/android/synchronous_compositor_host.cc
|
| index ec9bdf0bab6524168ed20a61443c9d33514558de..bbd9494b742528831ddf60bfb2605d090510a05e 100644
|
| --- a/content/browser/android/synchronous_compositor_host.cc
|
| +++ b/content/browser/android/synchronous_compositor_host.cc
|
| @@ -72,6 +72,7 @@ SynchronousCompositorHost::SynchronousCompositorHost(
|
| ui_task_runner_(
|
| BrowserThread::GetMessageLoopProxyForThread(BrowserThread::UI)),
|
| routing_id_(rwhva_->GetRenderWidgetHost()->GetRoutingID()),
|
| + process_id_(rwhva_->GetRenderWidgetHost()->GetProcess()->GetID()),
|
| sender_(rwhva_->GetRenderWidgetHost()),
|
| async_input_(async_input),
|
| use_in_process_zero_copy_software_draw_(use_in_proc_software_draw),
|
| @@ -83,11 +84,11 @@ SynchronousCompositorHost::SynchronousCompositorHost(
|
| need_begin_frame_(false),
|
| did_activate_pending_tree_count_(0u),
|
| weak_ptr_factory_(this) {
|
| - client_->DidInitializeCompositor(this);
|
| + client_->DidInitializeCompositor(this, process_id_, routing_id_);
|
| }
|
|
|
| SynchronousCompositorHost::~SynchronousCompositorHost() {
|
| - client_->DidDestroyCompositor(this);
|
| + client_->DidDestroyCompositor(this, process_id_, routing_id_);
|
| if (weak_ptr_factory_.HasWeakPtrs())
|
| UpdateStateTask();
|
| }
|
| @@ -104,10 +105,6 @@ bool SynchronousCompositorHost::OnMessageReceived(const IPC::Message& message) {
|
| return handled;
|
| }
|
|
|
| -void SynchronousCompositorHost::DidBecomeCurrent() {
|
| - client_->DidBecomeCurrent(this);
|
| -}
|
| -
|
| SynchronousCompositor::Frame SynchronousCompositorHost::DemandDrawHw(
|
| const gfx::Size& surface_size,
|
| const gfx::Transform& transform,
|
|
|