Index: chrome/browser/ui/pdf/pdf_browsertest_base.cc |
diff --git a/chrome/browser/ui/pdf/pdf_browsertest_base.cc b/chrome/browser/ui/pdf/pdf_browsertest_base.cc |
index 9420537f9a8fe76837d0fb46be9c183f664d858a..52179fb4a95b155e07de65508bea58be76edc9bc 100644 |
--- a/chrome/browser/ui/pdf/pdf_browsertest_base.cc |
+++ b/chrome/browser/ui/pdf/pdf_browsertest_base.cc |
@@ -111,10 +111,11 @@ bool PDFBrowserTest::VerifySnapshot(const std::string& expected_filename) { |
return !snapshot_different_; |
} |
-void PDFBrowserTest::CopyFromBackingStoreCallback(bool success, |
- const SkBitmap& bitmap) { |
+void PDFBrowserTest::CopyFromBackingStoreCallback( |
+ const SkBitmap& bitmap, |
+ content::ReadbackResponse response) { |
base::MessageLoopForUI::current()->Quit(); |
- ASSERT_EQ(success, true); |
+ ASSERT_EQ(response, content::READBACK_SUCCESS); |
base::FilePath reference = ui_test_utils::GetTestFilePath( |
base::FilePath(FILE_PATH_LITERAL("pdf_private")), |
base::FilePath().AppendASCII(expected_filename_)); |