| 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 2412a064cafee54b1f30112c9ce1ac3679e5ccf4..ad4962d5c629b47b7b3d802989e55aa2e44cb872 100644
|
| --- a/ui/android/delegated_frame_host_android.cc
|
| +++ b/ui/android/delegated_frame_host_android.cc
|
| @@ -132,7 +132,6 @@ void DelegatedFrameHostAndroid::SubmitCompositorFrame(
|
|
|
| current_frame_ = base::MakeUnique<FrameData>();
|
| current_frame_->local_frame_id = surface_id_allocator_->GenerateId();
|
| - surface_factory_->Create(current_frame_->local_frame_id);
|
|
|
| current_frame_->surface_size = surface_size;
|
| current_frame_->top_controls_height = frame.metadata.top_controls_height;
|
| @@ -196,7 +195,6 @@ void DelegatedFrameHostAndroid::DestroyDelegatedContent() {
|
|
|
| content_layer_->RemoveFromParent();
|
| content_layer_ = nullptr;
|
| - surface_factory_->Destroy(current_frame_->local_frame_id);
|
| current_frame_.reset();
|
|
|
| UpdateBackgroundLayer();
|
|
|