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 1fdf44924d464a0ece281ba3d979b165a453ff03..b262874d4ca193c71bfd9052bebb10b1fa2fee91 100644 |
--- a/ppapi/native_client/src/trusted/plugin/plugin.cc |
+++ b/ppapi/native_client/src/trusted/plugin/plugin.cc |
@@ -310,14 +310,11 @@ class PrintingAdapter : public pp::Printing_Dev { |
proxy->GetPluginInterface(PPP_PRINTING_DEV_INTERFACE)); |
} |
- PP_PrintOutputFormat_Dev* |
- QuerySupportedPrintOutputFormats(uint32_t* format_count) { |
+ uint32_t QuerySupportedPrintOutputFormats() { |
if (ppp_printing_ != NULL) { |
- return ppp_printing_->QuerySupportedFormats(plugin_->pp_instance(), |
- format_count); |
+ return ppp_printing_->QuerySupportedFormats(plugin_->pp_instance()); |
} |
- *format_count = 0; |
- return NULL; |
+ return 0; |
} |
int32_t PrintBegin(const PP_PrintSettings_Dev& print_settings) { |