summaryrefslogtreecommitdiff
path: root/chromium/chrome/browser/printing/print_job_manager.cc
diff options
context:
space:
mode:
Diffstat (limited to 'chromium/chrome/browser/printing/print_job_manager.cc')
-rw-r--r--chromium/chrome/browser/printing/print_job_manager.cc7
1 files changed, 3 insertions, 4 deletions
diff --git a/chromium/chrome/browser/printing/print_job_manager.cc b/chromium/chrome/browser/printing/print_job_manager.cc
index c47cdb09a32..9074df688ac 100644
--- a/chromium/chrome/browser/printing/print_job_manager.cc
+++ b/chromium/chrome/browser/printing/print_job_manager.cc
@@ -46,10 +46,9 @@ scoped_refptr<PrinterQuery> PrintQueriesQueue::PopPrinterQuery(
scoped_refptr<PrinterQuery> PrintQueriesQueue::CreatePrinterQuery(
int render_process_id,
- int render_view_id) {
- scoped_refptr<PrinterQuery> job =
- new printing::PrinterQuery(render_process_id, render_view_id);
- return job;
+ int render_frame_id) {
+ return make_scoped_refptr(
+ new PrinterQuery(render_process_id, render_frame_id));
}
void PrintQueriesQueue::Shutdown() {