| Index: content/renderer/android/synchronous_compositor_output_surface.cc
|
| diff --git a/content/renderer/android/synchronous_compositor_output_surface.cc b/content/renderer/android/synchronous_compositor_output_surface.cc
|
| index a26bb2f0c95078f8a4fc80cfbeb2eb712e1293d8..12941c260bb37655a9b94ee7b4242457c9ba3768 100644
|
| --- a/content/renderer/android/synchronous_compositor_output_surface.cc
|
| +++ b/content/renderer/android/synchronous_compositor_output_surface.cc
|
| @@ -106,6 +106,8 @@ void SynchronousCompositorOutputSurface::SetSyncClient(
|
| SynchronousCompositorOutputSurfaceClient* compositor) {
|
| DCHECK(CalledOnValidThread());
|
| sync_client_ = compositor;
|
| + if (sync_client_)
|
| + Send(new SyncCompositorHostMsg_OutputSurfaceCreated(routing_id_));
|
| }
|
|
|
| bool SynchronousCompositorOutputSurface::OnMessageReceived(
|
| @@ -131,7 +133,6 @@ bool SynchronousCompositorOutputSurface::BindToClient(
|
| base::Unretained(this)));
|
| registry_->RegisterOutputSurface(routing_id_, this);
|
| registered_ = true;
|
| - Send(new SyncCompositorHostMsg_OutputSurfaceCreated(routing_id_));
|
| return true;
|
| }
|
|
|
|
|