| Index: chrome/renderer/mock_printer.cc
|
| diff --git a/chrome/renderer/mock_printer.cc b/chrome/renderer/mock_printer.cc
|
| index 3d1455911d9628cff9cc4550ee3ee14aa29ef782..f8266c8f4fbbd38f18ac49f05681362eadc1b706 100644
|
| --- a/chrome/renderer/mock_printer.cc
|
| +++ b/chrome/renderer/mock_printer.cc
|
| @@ -114,10 +114,12 @@ void MockPrinter::ScriptedPrint(int cookie,
|
| }
|
|
|
| void MockPrinter::UpdateSettings(int cookie,
|
| - PrintMsg_PrintPages_Params* params) {
|
| + PrintMsg_PrintPages_Params* params,
|
| + const std::vector<int>& pages) {
|
| EXPECT_EQ(document_cookie_, cookie);
|
|
|
| params->Reset();
|
| + params->pages = pages;
|
| SetPrintParams(&(params->params));
|
| printer_status_ = PRINTER_PRINTING;
|
| }
|
|
|