| Index: ui/android/delegated_frame_host_android.cc
|
| diff --git a/ui/android/delegated_frame_host_android.cc b/ui/android/delegated_frame_host_android.cc
|
| index b882ed8e2fad942ad7933d641db3b6607eacedb1..6c6834ffd9d6afa494768860a5f8ef4bd156cef1 100644
|
| --- a/ui/android/delegated_frame_host_android.cc
|
| +++ b/ui/android/delegated_frame_host_android.cc
|
| @@ -13,6 +13,7 @@
|
| #include "cc/surfaces/surface.h"
|
| #include "cc/surfaces/surface_id.h"
|
| #include "cc/surfaces/surface_id_allocator.h"
|
| +#include "cc/surfaces/surface_info.h"
|
| #include "cc/surfaces/surface_manager.h"
|
| #include "ui/android/context_provider_factory.h"
|
| #include "ui/android/view_android.h"
|
| @@ -51,7 +52,7 @@ scoped_refptr<cc::SurfaceLayer> CreateSurfaceLayer(
|
| scoped_refptr<cc::SurfaceLayer> layer = cc::SurfaceLayer::Create(
|
| base::Bind(&SatisfyCallback, base::Unretained(surface_manager)),
|
| base::Bind(&RequireCallback, base::Unretained(surface_manager)));
|
| - layer->SetSurfaceId(surface_id, 1.f, surface_size);
|
| + layer->SetSurfaceInfo(cc::SurfaceInfo(surface_id, 1.f, surface_size));
|
| layer->SetBounds(surface_size);
|
| layer->SetIsDrawable(true);
|
| layer->SetContentsOpaque(surface_opaque);
|
|
|