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

Unified Diff: chrome/renderer/print_web_view_helper_mac.mm

Issue 6142013: Allow printing/saving a plugin through right click menu, even if it's in a fr... (Closed) Base URL: svn://chrome-svn/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_linux.cc ('k') | chrome/renderer/render_view.h » ('j') | 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
===================================================================
--- chrome/renderer/print_web_view_helper_mac.mm (revision 71495)
+++ chrome/renderer/print_web_view_helper_mac.mm (working copy)
@@ -71,10 +71,10 @@
WebFrame* frame,
ViewHostMsg_DidPreviewDocument_Params* print_params) {
ViewMsg_Print_Params printParams = params.params;
- UpdatePrintableSizeInPrintParameters(frame, &printParams);
+ UpdatePrintableSizeInPrintParameters(frame, NULL, &printParams);
PrepareFrameAndViewForPrint prep_frame_view(printParams,
- frame, frame->view());
+ frame, NULL, frame->view());
int page_count = prep_frame_view.GetExpectedPageCount();
if (!page_count)
« no previous file with comments | « chrome/renderer/print_web_view_helper_linux.cc ('k') | chrome/renderer/render_view.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698