| 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..83277cf67701260574c38347063c8f4f63370808 100644
 | 
| --- a/content/browser/android/synchronous_compositor_host.cc
 | 
| +++ b/content/browser/android/synchronous_compositor_host.cc
 | 
| @@ -45,28 +45,22 @@ void SynchronousCompositor::SetClientForWebContents(
 | 
|  
 | 
|  // 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()),
 | 
| 
 |