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

Unified Diff: content/renderer/pepper/pepper_webplugin_impl.cc

Issue 1169263003: Change return type of PrintPage (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: bool printPage removal Created 5 years, 6 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 | « content/renderer/pepper/pepper_webplugin_impl.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/renderer/pepper/pepper_webplugin_impl.cc
diff --git a/content/renderer/pepper/pepper_webplugin_impl.cc b/content/renderer/pepper/pepper_webplugin_impl.cc
index 914d3950c64fa146fc53b5df61f30aca5307da1b..078f41f4bec3e2a200f50d0fd9dd459e0059a8a9 100644
--- a/content/renderer/pepper/pepper_webplugin_impl.cc
+++ b/content/renderer/pepper/pepper_webplugin_impl.cc
@@ -272,15 +272,10 @@ int PepperWebPluginImpl::printBegin(const WebPrintParams& print_params) {
void PepperWebPluginImpl::printPage(int page_number, blink::WebCanvas* canvas,
bool unused) {
- return instance_->PrintPage(page_number, canvas);
-}
-
-bool PepperWebPluginImpl::printPage(int page_number, blink::WebCanvas* canvas) {
instance_->PrintPage(page_number, canvas);
- return true;
}
-void PepperWebPluginImpl::printEnd() { return instance_->PrintEnd(); }
+void PepperWebPluginImpl::printEnd() { instance_->PrintEnd(); }
bool PepperWebPluginImpl::getPrintPresetOptionsFromDocument(
blink::WebPrintPresetOptions* preset_options) {
« no previous file with comments | « content/renderer/pepper/pepper_webplugin_impl.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698