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 99c279d0091a135a43d15d40bd53d696ebb944e1..4c6f8e0e3c3d581ca3ce3476c4dd3f36d6a53d58 100644 |
--- a/ui/android/delegated_frame_host_android.cc |
+++ b/ui/android/delegated_frame_host_android.cc |
@@ -174,8 +174,7 @@ void DelegatedFrameHostAndroid::RequestCopyOfSurface( |
if (!src_subrect_in_pixel.IsEmpty()) |
copy_output_request->set_area(src_subrect_in_pixel); |
- surface_factory_->RequestCopyOfSurface(current_frame_->surface_id, |
- std::move(copy_output_request)); |
+ readback_layer->RequestCopyOfOutput(std::move(copy_output_request)); |
} |
void DelegatedFrameHostAndroid::DestroyDelegatedContent() { |