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

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

Issue 1149983008: Change return type of PrintPage (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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 baae3f273ac30e61a5f00e4d1b212500571ae9c2..914d3950c64fa146fc53b5df61f30aca5307da1b 100644
--- a/content/renderer/pepper/pepper_webplugin_impl.cc
+++ b/content/renderer/pepper/pepper_webplugin_impl.cc
@@ -270,10 +270,16 @@ int PepperWebPluginImpl::printBegin(const WebPrintParams& print_params) {
return instance_->PrintBegin(print_params);
}
-bool PepperWebPluginImpl::printPage(int page_number, blink::WebCanvas* canvas) {
+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(); }
bool PepperWebPluginImpl::getPrintPresetOptionsFromDocument(
« 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