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

Unified Diff: content/browser/renderer_host/render_widget_host_view_mac.mm

Issue 188633002: Query the preferred readback config in CopyFromBackingStore (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix for test build issue. Created 6 years, 9 months 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
Index: content/browser/renderer_host/render_widget_host_view_mac.mm
diff --git a/content/browser/renderer_host/render_widget_host_view_mac.mm b/content/browser/renderer_host/render_widget_host_view_mac.mm
index f8f5bd1ad3371e91d4f6cc237f743b54e2e9cf93..f629849be367f06efb3a81d6496029f30cf7a7e0 100644
--- a/content/browser/renderer_host/render_widget_host_view_mac.mm
+++ b/content/browser/renderer_host/render_widget_host_view_mac.mm
@@ -2215,6 +2215,10 @@ void RenderWidgetHostViewMac::SendPendingSwapAck() {
pending_swap_ack_.reset();
}
+SkBitmap::Config RenderWidgetHostViewMac::PreferredReadbackFormat() {
+ return SkBitmap::kARGB_8888_Config;
+}
+
} // namespace content
// RenderWidgetHostViewCocoa ---------------------------------------------------
« no previous file with comments | « content/browser/renderer_host/render_widget_host_view_mac.h ('k') | content/port/browser/render_widget_host_view_port.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698