| Index: chrome/renderer/print_web_view_helper.cc
|
| ===================================================================
|
| --- chrome/renderer/print_web_view_helper.cc (revision 71367)
|
| +++ chrome/renderer/print_web_view_helper.cc (working copy)
|
| @@ -1,9 +1,11 @@
|
| -// Copyright (c) 2010 The Chromium Authors. All rights reserved.
|
| +// Copyright (c) 2011 The Chromium Authors. All rights reserved.
|
| // Use of this source code is governed by a BSD-style license that can be
|
| // found in the LICENSE file.
|
|
|
| #include "chrome/renderer/print_web_view_helper.h"
|
|
|
| +#include <string>
|
| +
|
| #include "app/l10n_util.h"
|
| #include "base/logging.h"
|
| #include "base/process_util.h"
|
| @@ -246,7 +248,7 @@
|
|
|
| const gfx::Size& canvas_size = prep_frame_view.GetPrintCanvasSize();
|
| ViewMsg_PrintPage_Params page_params;
|
| - page_params.params = params.params;
|
| + page_params.params = printParams;
|
| if (params.pages.empty()) {
|
| for (int i = 0; i < page_count; ++i) {
|
| page_params.page_number = i;
|
|
|