| 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 1c21e9e2042350c21e11aaddaf839d92d36bb2eb..c1aea3c03a1dc0a891762f06d5a810a02b513df4 100644
|
| --- a/content/browser/renderer_host/compositor_impl_android.cc
|
| +++ b/content/browser/renderer_host/compositor_impl_android.cc
|
| @@ -47,6 +47,7 @@
|
| #include "cc/surfaces/surface_id_allocator.h"
|
| #include "cc/trees/layer_tree_host.h"
|
| #include "cc/trees/layer_tree_settings.h"
|
| +#include "cc/trees/surface_sequence_generator.h"
|
| #include "components/display_compositor/compositor_overlay_candidate_validator_android.h"
|
| #include "components/display_compositor/gl_helper.h"
|
| #include "content/browser/android/child_process_launcher_android.h"
|
| @@ -506,7 +507,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_);
|
|
|