| 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 a4fbdcc5b2a2a758eec0090bd9e3d6cff61dee94..cfec14202d4c33c105ed30b9c0d2ad68506d6936 100644
|
| --- a/content/browser/android/synchronous_compositor_host.cc
|
| +++ b/content/browser/android/synchronous_compositor_host.cc
|
| @@ -69,6 +69,7 @@ SynchronousCompositorHost::SynchronousCompositorHost(
|
| ui_task_runner_(
|
| BrowserThread::GetMessageLoopProxyForThread(BrowserThread::UI)),
|
| routing_id_(rwhva_->GetRenderWidgetHost()->GetRoutingID()),
|
| + process_id_(rwhva_->GetRenderWidgetHost()->GetProcess()->GetID()),
|
| sender_(rwhva_->GetRenderWidgetHost()),
|
| use_in_process_zero_copy_software_draw_(use_in_proc_software_draw),
|
| bytes_limit_(0u),
|
| @@ -76,11 +77,11 @@ SynchronousCompositorHost::SynchronousCompositorHost(
|
| need_animate_scroll_(false),
|
| need_invalidate_count_(0u),
|
| did_activate_pending_tree_count_(0u) {
|
| - client_->DidInitializeCompositor(this);
|
| + client_->DidInitializeCompositor(this, process_id_, routing_id_);
|
| }
|
|
|
| SynchronousCompositorHost::~SynchronousCompositorHost() {
|
| - client_->DidDestroyCompositor(this);
|
| + client_->DidDestroyCompositor(this, process_id_, routing_id_);
|
| }
|
|
|
| bool SynchronousCompositorHost::OnMessageReceived(const IPC::Message& message) {
|
| @@ -94,10 +95,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,
|
|
|