| 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 c0d33fbc765cfa4305ed9054b46c57b0c434746b..d3db2947411a7f771dfefb10d583f55df43614df 100644 | 
| --- a/content/browser/android/synchronous_compositor_host.cc | 
| +++ b/content/browser/android/synchronous_compositor_host.cc | 
| @@ -32,41 +32,23 @@ | 
| namespace content { | 
|  | 
| // static | 
| -void SynchronousCompositor::SetClientForWebContents( | 
| -    WebContents* contents, | 
| -    SynchronousCompositorClient* client) { | 
| -  DCHECK(contents); | 
| -  DCHECK(client); | 
| -  WebContentsAndroid* web_contents_android = | 
| -      static_cast<WebContentsImpl*>(contents)->GetWebContentsAndroid(); | 
| -  DCHECK(!web_contents_android->synchronous_compositor_client()); | 
| -  web_contents_android->set_synchronous_compositor_client(client); | 
| -} | 
| - | 
| -// static | 
| std::unique_ptr<SynchronousCompositorHost> SynchronousCompositorHost::Create( | 
| -    RenderWidgetHostViewAndroid* rwhva, | 
| -    WebContents* web_contents) { | 
| -  DCHECK(web_contents); | 
| -  WebContentsAndroid* web_contents_android = | 
| -      static_cast<WebContentsImpl*>(web_contents)->GetWebContentsAndroid(); | 
| -  if (!web_contents_android->synchronous_compositor_client()) | 
| +    RenderWidgetHostViewAndroid* rwhva) { | 
| +  if (!rwhva->synchronous_compositor_client()) | 
| return nullptr;  // Not using sync compositing. | 
|  | 
| base::CommandLine* command_line = base::CommandLine::ForCurrentProcess(); | 
| bool use_in_proc_software_draw = | 
| command_line->HasSwitch(switches::kSingleProcess); | 
| return base::WrapUnique(new SynchronousCompositorHost( | 
| -      rwhva, web_contents_android->synchronous_compositor_client(), | 
| -      use_in_proc_software_draw)); | 
| +      rwhva, use_in_proc_software_draw)); | 
| } | 
|  | 
| SynchronousCompositorHost::SynchronousCompositorHost( | 
| RenderWidgetHostViewAndroid* rwhva, | 
| -    SynchronousCompositorClient* client, | 
| bool use_in_proc_software_draw) | 
| : rwhva_(rwhva), | 
| -      client_(client), | 
| +      client_(rwhva->synchronous_compositor_client()), | 
| ui_task_runner_(BrowserThread::GetTaskRunnerForThread(BrowserThread::UI)), | 
| process_id_(rwhva_->GetRenderWidgetHost()->GetProcess()->GetID()), | 
| routing_id_(rwhva_->GetRenderWidgetHost()->GetRoutingID()), | 
|  |