| 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 ccb4c684f6e3e1a7737258990dae3346fc44062d..3b60ed2d55a707993d52adcdc44def3e0b725ea9 100644
|
| --- a/ui/android/delegated_frame_host_android.cc
|
| +++ b/ui/android/delegated_frame_host_android.cc
|
| @@ -188,11 +188,13 @@ void DelegatedFrameHostAndroid::OnDidFinishFrame(const cc::BeginFrameAck& ack) {
|
| }
|
|
|
| void DelegatedFrameHostAndroid::CreateNewCompositorFrameSinkSupport() {
|
| + constexpr bool is_root = false;
|
| + constexpr bool handles_frame_sink_id_invalidation = false;
|
| + constexpr bool needs_sync_points = true;
|
| support_.reset();
|
| - support_ = base::MakeUnique<cc::CompositorFrameSinkSupport>(
|
| - this, surface_manager_, frame_sink_id_, false /* is_root */,
|
| - false /* handles_frame_sink_id_invalidation */,
|
| - true /* needs_sync_points */);
|
| + support_ = cc::CompositorFrameSinkSupport::Create(
|
| + this, surface_manager_, frame_sink_id_, is_root,
|
| + handles_frame_sink_id_invalidation, needs_sync_points);
|
| }
|
|
|
| cc::SurfaceId DelegatedFrameHostAndroid::SurfaceId() const {
|
|
|