Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(4188)

Unified Diff: chrome/renderer/print_web_view_helper_mac.mm

Issue 6361009: Rename |print_params| to |preview_params| in CreatePreviewDocument() function. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: '' Created 9 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/renderer/print_web_view_helper.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/renderer/print_web_view_helper_mac.mm
diff --git a/chrome/renderer/print_web_view_helper_mac.mm b/chrome/renderer/print_web_view_helper_mac.mm
index 5dcd220eed7c1ec4cf442cd6e1037afb6738b934..3d8a14aad104d77d3a8c3dc790e2ff9b6f6eef54 100644
--- a/chrome/renderer/print_web_view_helper_mac.mm
+++ b/chrome/renderer/print_web_view_helper_mac.mm
@@ -69,7 +69,7 @@ void PrintWebViewHelper::PrintPage(const ViewMsg_PrintPage_Params& params,
void PrintWebViewHelper::CreatePreviewDocument(
const ViewMsg_PrintPages_Params& params,
WebFrame* frame,
- ViewHostMsg_DidPreviewDocument_Params* print_params) {
+ ViewHostMsg_DidPreviewDocument_Params* preview_params) {
ViewMsg_Print_Params printParams = params.params;
UpdatePrintableSizeInPrintParameters(frame, NULL, &printParams);
@@ -106,12 +106,12 @@ void PrintWebViewHelper::CreatePreviewDocument(
metafile.Close();
// Ask the browser to create the shared memory for us.
if (!CopyMetafileDataToSharedMem(&metafile,
- &(print_params->metafile_data_handle))) {
+ &(preview_params->metafile_data_handle))) {
NOTREACHED();
return;
}
- print_params->document_cookie = params.params.document_cookie;
- print_params->data_size = metafile.GetDataSize();
+ preview_params->document_cookie = params.params.document_cookie;
+ preview_params->data_size = metafile.GetDataSize();
}
void PrintWebViewHelper::RenderPage(
« no previous file with comments | « chrome/renderer/print_web_view_helper.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698