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

Unified Diff: ui/android/delegated_frame_host_android.cc

Issue 2503183003: Fix three causes of blank thumbnails [2nd land] (Closed)
Patch Set: Unapply conflict resolution since http://crrev.com/432312 got reverted 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 da0d50b04755805961f9c7146159663dcc23ec00..b882ed8e2fad942ad7933d641db3b6607eacedb1 100644
--- a/ui/android/delegated_frame_host_android.cc
+++ b/ui/android/delegated_frame_host_android.cc
@@ -181,7 +181,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