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

Unified Diff: content/browser/frame_host/navigation_controller_impl_unittest.cc

Issue 593503003: Support error handling for Surface readbacks (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Formatted code and fixed build issue in test. Created 6 years, 1 month 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/frame_host/navigation_controller_impl_unittest.cc
diff --git a/content/browser/frame_host/navigation_controller_impl_unittest.cc b/content/browser/frame_host/navigation_controller_impl_unittest.cc
index ae7ad90f1e4d51f7decb546297d3535b0a0b6c05..6faf9e76470375e8ced83886800f03f2fcd7b40f 100644
--- a/content/browser/frame_host/navigation_controller_impl_unittest.cc
+++ b/content/browser/frame_host/navigation_controller_impl_unittest.cc
@@ -81,7 +81,7 @@ class MockScreenshotManager : public content::NavigationEntryScreenshotManager {
1, 1, kAlpha_8_SkColorType, kPremul_SkAlphaType));
bitmap.eraseARGB(0, 0, 0, 0);
encoding_screenshot_in_progress_ = true;
- OnScreenshotTaken(entry->GetUniqueID(), true, bitmap);
+ OnScreenshotTaken(entry->GetUniqueID(), bitmap, content::READBACK_SUCCESS);
WaitUntilScreenshotIsReady();
}

Powered by Google App Engine
This is Rietveld 408576698