Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(251)

Unified Diff: ui/android/delegated_frame_host_android.cc

Issue 2503363003: Fix three causes of blank thumbnails [2nd land] (Closed)
Patch Set: Rebase Created 4 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/browser/android/compositor/tab_content_manager.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 7b26124a754f11d4e1c73a84141e04bc62f8b2b8..ce368aa6e118559c6cb5e57b122bd5bc12da9bc4 100644
--- a/ui/android/delegated_frame_host_android.cc
+++ b/ui/android/delegated_frame_host_android.cc
@@ -185,7 +185,8 @@ void DelegatedFrameHostAndroid::RequestCopyOfSurface(
if (!src_subrect_in_pixel.IsEmpty())
copy_output_request->set_area(src_subrect_in_pixel);
- readback_layer->RequestCopyOfOutput(std::move(copy_output_request));
+ surface_factory_->RequestCopyOfSurface(current_frame_->local_frame_id,
+ std::move(copy_output_request));
}
void DelegatedFrameHostAndroid::DestroyDelegatedContent() {
« no previous file with comments | « chrome/browser/android/compositor/tab_content_manager.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698