Index: content/browser/browser_plugin/browser_plugin_host_browsertest.cc |
diff --git a/content/browser/browser_plugin/browser_plugin_host_browsertest.cc b/content/browser/browser_plugin/browser_plugin_host_browsertest.cc |
index 781da8577cb04a771cdb987438e83d949a098da8..18bce0dbaf614dbae45e37b5855e44932a6b7fed 100644 |
--- a/content/browser/browser_plugin/browser_plugin_host_browsertest.cc |
+++ b/content/browser/browser_plugin/browser_plugin_host_browsertest.cc |
@@ -910,10 +910,14 @@ IN_PROC_BROWSER_TEST_F(BrowserPluginThreadedCompositorPixelTest, |
bool result = false; |
while (!result) { |
base::RunLoop loop; |
- guest_widget_host->CopyFromBackingStore(gfx::Rect(), |
+ guest_widget_host->CopyFromBackingStore( |
+ gfx::Rect(), |
guest_widget_host->GetView()->GetViewBounds().size(), |
- base::Bind(&CompareSkBitmapAndRun, loop.QuitClosure(), expected_bitmap, |
- &result)); |
+ base::Bind(&CompareSkBitmapAndRun, |
+ loop.QuitClosure(), |
+ expected_bitmap, |
+ &result), |
+ SkBitmap::kARGB_8888_Config); |
loop.Run(); |
} |
} |