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