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

Unified Diff: content/browser/browser_plugin/browser_plugin_host_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/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();
}
}
« no previous file with comments | « chrome/browser/thumbnails/thumbnail_tab_helper.cc ('k') | content/browser/frame_host/navigation_entry_screenshot_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698