Index: ppapi/native_client/src/trusted/plugin/plugin.cc |
diff --git a/ppapi/native_client/src/trusted/plugin/plugin.cc b/ppapi/native_client/src/trusted/plugin/plugin.cc |
index 649b94a093811278b54bda92b25849bbbf65703c..0cb4c6c7594bc2dfbeab85941164d0a9b22a9978 100644 |
--- a/ppapi/native_client/src/trusted/plugin/plugin.cc |
+++ b/ppapi/native_client/src/trusted/plugin/plugin.cc |
@@ -343,6 +343,13 @@ class PrintingAdapter : public pp::Printing_Dev { |
return 0; |
} |
+ bool IsPrintScalingDisabled() { |
+ if (ppp_printing_ != NULL) { |
+ return ppp_printing_->IsScalingDisabled(plugin_->pp_instance()); |
+ } |
+ return false; |
+ } |
+ |
int32_t PrintBegin(const PP_PrintSettings_Dev& print_settings) { |
if (ppp_printing_ != NULL) { |
return ppp_printing_->Begin(plugin_->pp_instance(), &print_settings); |