summaryrefslogtreecommitdiffstats
path: root/chrome/renderer/print_web_view_helper.cc
diff options
context:
space:
mode:
authormhm@chromium.org <mhm@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-09-04 13:08:58 +0000
committermhm@chromium.org <mhm@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-09-04 13:08:58 +0000
commitadab5aa220a13aa6411ec7fc903de558cd6012bb (patch)
treeefd25ef6bd38e5e9fcead4d4969d9f9af3dd229c /chrome/renderer/print_web_view_helper.cc
parent1f6079539a1ffb2a17579f22280f476895d2414c (diff)
downloadchromium_src-adab5aa220a13aa6411ec7fc903de558cd6012bb.zip
chromium_src-adab5aa220a13aa6411ec7fc903de558cd6012bb.tar.gz
chromium_src-adab5aa220a13aa6411ec7fc903de558cd6012bb.tar.bz2
Fix build for mac bots
TBR=maruel Review URL: http://codereview.chromium.org/201016 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@25446 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/renderer/print_web_view_helper.cc')
-rw-r--r--chrome/renderer/print_web_view_helper.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/chrome/renderer/print_web_view_helper.cc b/chrome/renderer/print_web_view_helper.cc
index 04e72b4..633acd8 100644
--- a/chrome/renderer/print_web_view_helper.cc
+++ b/chrome/renderer/print_web_view_helper.cc
@@ -139,7 +139,7 @@ void PrintWebViewHelper::PrintPages(const ViewMsg_PrintPages_Params& params,
}
}
}
-
+#ifndef OS_MACOSX
void PrintWebViewHelper::PrintPageAsJPEG(
const ViewMsg_PrintPage_Params& params,
WebFrame* frame,
@@ -174,7 +174,7 @@ void PrintWebViewHelper::PrintPageAsJPEG(
image_data);
DCHECK(encoded);
}
-
+#endif
bool PrintWebViewHelper::Send(IPC::Message* msg) {
return render_view_->Send(msg);
}