| Index: chrome/browser/printing/printer_query.cc
|
| diff --git a/chrome/browser/printing/printer_query.cc b/chrome/browser/printing/printer_query.cc
|
| index 0120ba24574d44e081fd85c328d4cbfae24eb187..ba2de8ce908651b55b741631b01420a4b77d549e 100644
|
| --- a/chrome/browser/printing/printer_query.cc
|
| +++ b/chrome/browser/printing/printer_query.cc
|
| @@ -14,8 +14,8 @@
|
|
|
| namespace printing {
|
|
|
| -PrinterQuery::PrinterQuery()
|
| - : worker_(new PrintJobWorker(this)),
|
| +PrinterQuery::PrinterQuery(int render_process_id, int render_view_id)
|
| + : worker_(new PrintJobWorker(render_process_id, render_view_id, this)),
|
| is_print_dialog_box_shown_(false),
|
| cookie_(PrintSettings::NewCookie()),
|
| last_status_(PrintingContext::FAILED) {
|
| @@ -66,7 +66,6 @@ int PrinterQuery::cookie() const {
|
|
|
| void PrinterQuery::GetSettings(
|
| GetSettingsAskParam ask_user_for_settings,
|
| - scoped_ptr<PrintingUIWebContentsObserver> web_contents_observer,
|
| int expected_page_count,
|
| bool has_selection,
|
| MarginType margin_type,
|
| @@ -82,7 +81,6 @@ void PrinterQuery::GetSettings(
|
| base::Bind(&PrintJobWorker::GetSettings,
|
| base::Unretained(worker_.get()),
|
| is_print_dialog_box_shown_,
|
| - base::Passed(&web_contents_observer),
|
| expected_page_count,
|
| has_selection,
|
| margin_type));
|
|
|