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(); |