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

Unified Diff: content/browser/renderer_host/render_widget_host_view_browsertest.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_browsertest.cc
diff --git a/content/browser/renderer_host/render_widget_host_view_browsertest.cc b/content/browser/renderer_host/render_widget_host_view_browsertest.cc
index 9db52c78420354a72b10da4eca6a6238418db967..5197631c72e437477c9fab6c347cfe1d957e3fe1 100644
--- a/content/browser/renderer_host/render_widget_host_view_browsertest.cc
+++ b/content/browser/renderer_host/render_widget_host_view_browsertest.cc
@@ -172,7 +172,8 @@ class RenderWidgetHostViewBrowserTest : public ContentBrowserTest {
base::Bind(
&RenderWidgetHostViewBrowserTest::FinishCopyFromBackingStore,
base::Unretained(this),
- run_loop.QuitClosure()));
+ run_loop.QuitClosure()),
+ SkBitmap::kARGB_8888_Config);
run_loop.Run();
if (frames_captured())
@@ -376,7 +377,9 @@ IN_PROC_BROWSER_TEST_P(CompositingRenderWidgetHostViewBrowserTest,
gfx::Rect(),
frame_size(),
base::Bind(&RenderWidgetHostViewBrowserTest::FinishCopyFromBackingStore,
- base::Unretained(this), run_loop.QuitClosure()));
+ base::Unretained(this),
+ run_loop.QuitClosure()),
+ SkBitmap::kARGB_8888_Config);
// Delete the surface before the callback is run.
GetRenderWidgetHostViewPort()->AcceleratedSurfaceRelease();
run_loop.Run();

Powered by Google App Engine
This is Rietveld 408576698