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

Unified Diff: content/browser/renderer_host/render_widget_host_view_base.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_base.cc
diff --git a/content/browser/renderer_host/render_widget_host_view_base.cc b/content/browser/renderer_host/render_widget_host_view_base.cc
index d922c93ceb9ce9f2aba3ceb0e490bc900dfa1e1f..fddb27880b31168bd9e863cb2a004cff96552c40 100644
--- a/content/browser/renderer_host/render_widget_host_view_base.cc
+++ b/content/browser/renderer_host/render_widget_host_view_base.cc
@@ -602,4 +602,8 @@ void RenderWidgetHostViewBase::FlushInput() {
impl->FlushInput();
}
+SkBitmap::Config RenderWidgetHostViewBase::PreferredReadbackFormat() {
+ return SkBitmap::kARGB_8888_Config;
+}
+
} // namespace content

Powered by Google App Engine
This is Rietveld 408576698