summaryrefslogtreecommitdiffstats
path: root/chrome/renderer/print_web_view_helper.h
diff options
context:
space:
mode:
authorkmadhusu@chromium.org <kmadhusu@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-11-19 02:05:17 +0000
committerkmadhusu@chromium.org <kmadhusu@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-11-19 02:05:17 +0000
commitf1c9371c71d33cf962a8e695799830b18fb99ed1 (patch)
treef02ef053beeda3d1dff77db3e4679320ad3f1d61 /chrome/renderer/print_web_view_helper.h
parent8d8c1b16ca811ec512e0a9ca8d62e17969d1bc21 (diff)
downloadchromium_src-f1c9371c71d33cf962a8e695799830b18fb99ed1.zip
chromium_src-f1c9371c71d33cf962a8e695799830b18fb99ed1.tar.gz
chromium_src-f1c9371c71d33cf962a8e695799830b18fb99ed1.tar.bz2
PrintPreview: [Cleanup] Remove unwanted function calls.
While printing for print preview, we don't want to get the source frame css information because it is not used. BUG=none TEST=printing works as expected after code changes. Review URL: http://codereview.chromium.org/8566055 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@110815 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/renderer/print_web_view_helper.h')
-rw-r--r--chrome/renderer/print_web_view_helper.h7
1 files changed, 3 insertions, 4 deletions
diff --git a/chrome/renderer/print_web_view_helper.h b/chrome/renderer/print_web_view_helper.h
index 66a306f..f300dc2 100644
--- a/chrome/renderer/print_web_view_helper.h
+++ b/chrome/renderer/print_web_view_helper.h
@@ -191,8 +191,7 @@ class PrintWebViewHelper
// It will implicitly revert the document to display CSS media type.
bool PrintPages(const PrintMsg_PrintPages_Params& params,
WebKit::WebFrame* frame,
- const WebKit::WebNode& node,
- PrepareFrameAndViewForPrint* prepare);
+ const WebKit::WebNode& node);
// Prints the page listed in |params|.
#if defined(USE_X11)
@@ -207,8 +206,8 @@ class PrintWebViewHelper
#endif
// Render the frame for printing.
- bool RenderPagesForPrint(WebKit::WebFrame* frame, const WebKit::WebNode& node,
- PrepareFrameAndViewForPrint* prepare);
+ bool RenderPagesForPrint(WebKit::WebFrame* frame,
+ const WebKit::WebNode& node);
// Platform specific helper function for rendering page(s) to |metafile|.
#if defined(OS_WIN)