| Index: content/browser/renderer_host/compositor_impl_android.cc
|
| diff --git a/content/browser/renderer_host/compositor_impl_android.cc b/content/browser/renderer_host/compositor_impl_android.cc
|
| index c690d293ed3a9e92af6620acea040e0a2c05ec4e..11b9be38dfdc53586372b2ea912396d17ac1c5d9 100644
|
| --- a/content/browser/renderer_host/compositor_impl_android.cc
|
| +++ b/content/browser/renderer_host/compositor_impl_android.cc
|
| @@ -44,6 +44,7 @@
|
| #include "cc/surfaces/display_scheduler.h"
|
| #include "cc/surfaces/surface_display_output_surface.h"
|
| #include "cc/surfaces/surface_id_allocator.h"
|
| +#include "cc/surfaces/surface_sequence_generator.h"
|
| #include "cc/trees/layer_tree_host.h"
|
| #include "cc/trees/layer_tree_settings.h"
|
| #include "components/display_compositor/compositor_overlay_candidate_validator_android.h"
|
| @@ -505,7 +506,8 @@ void CompositorImpl::CreateLayerTreeHost() {
|
| host_ = cc::LayerTreeHost::CreateSingleThreaded(this, ¶ms);
|
| DCHECK(!host_->IsVisible());
|
| host_->GetLayerTree()->SetRootLayer(root_window_->GetLayer());
|
| - host_->SetSurfaceClientId(surface_id_allocator_->client_id());
|
| + host_->GetSurfaceSequenceGenerator()->set_surface_client_id(
|
| + surface_id_allocator_->client_id());
|
| host_->GetLayerTree()->SetViewportSize(size_);
|
| host_->GetLayerTree()->set_has_transparent_background(
|
| has_transparent_background_);
|
|
|