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

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

Issue 143683003: Support format using enum argument for Async readback (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Replace bool with enum to support other formats Created 6 years, 11 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_impl.cc
diff --git a/content/browser/renderer_host/render_widget_host_impl.cc b/content/browser/renderer_host/render_widget_host_impl.cc
index 411de18ffe3bfcf0eac1cc9390c342f622bd05cf..ae2c4716802c19466af85d8c929bd69c5ab7839e 100644
--- a/content/browser/renderer_host/render_widget_host_impl.cc
+++ b/content/browser/renderer_host/render_widget_host_impl.cc
@@ -725,7 +725,7 @@ void RenderWidgetHostImpl::CopyFromBackingStore(
view_->CopyFromCompositingSurface(accelerated_copy_rect,
accelerated_dst_size,
callback,
- false);
+ SkBitmap::kARGB_8888_Config);
return;
}

Powered by Google App Engine
This is Rietveld 408576698