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

Unified Diff: content/browser/renderer_host/render_widget_host_view_aura.cc

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_aura.cc
diff --git a/content/browser/renderer_host/render_widget_host_view_aura.cc b/content/browser/renderer_host/render_widget_host_view_aura.cc
index e0b07da93964c1eeda691b608cadd8288d69b534..83fd9b304817e33879e6101e9c58b8e8859b2f96 100644
--- a/content/browser/renderer_host/render_widget_host_view_aura.cc
+++ b/content/browser/renderer_host/render_widget_host_view_aura.cc
@@ -3583,6 +3583,10 @@ void RenderWidgetHostViewAura::UnlockResources() {
delegated_frame_evictor_->UnlockFrame();
}
+SkBitmap::Config RenderWidgetHostViewAura::PreferredReadbackFormat() {
+ return SkBitmap::kARGB_8888_Config;
+}
+
////////////////////////////////////////////////////////////////////////////////
// RenderWidgetHostView, public:

Powered by Google App Engine
This is Rietveld 408576698