Index: chrome/renderer/mock_printer.cc |
diff --git a/chrome/renderer/mock_printer.cc b/chrome/renderer/mock_printer.cc |
index 9a5d2f44eeb4164068243395a05df74402869c51..fb02d3a50116edea94eaa64e2a31bc95331846a1 100644 |
--- a/chrome/renderer/mock_printer.cc |
+++ b/chrome/renderer/mock_printer.cc |
@@ -120,11 +120,8 @@ void MockPrinter::ScriptedPrint(int cookie, |
printer_status_ = PRINTER_PRINTING; |
} |
-void MockPrinter::UpdateSettings(int cookie, |
- PrintMsg_PrintPages_Params* params, |
+void MockPrinter::UpdateSettings(PrintMsg_PrintPages_Params* params, |
const std::vector<int>& pages) { |
- EXPECT_EQ(document_cookie_, cookie); |
- |
params->Reset(); |
params->pages = pages; |
SetPrintParams(&(params->params)); |