| Index: webkit/plugins/ppapi/ppapi_webplugin_impl.h
|
| diff --git a/webkit/plugins/ppapi/ppapi_webplugin_impl.h b/webkit/plugins/ppapi/ppapi_webplugin_impl.h
|
| index af9ce5e0db19ae4bbe571f8acf5442a64d0dfce3..54e782a3fa028130ebae719c2fef0f8743444d5c 100644
|
| --- a/webkit/plugins/ppapi/ppapi_webplugin_impl.h
|
| +++ b/webkit/plugins/ppapi/ppapi_webplugin_impl.h
|
| @@ -18,6 +18,7 @@
|
|
|
| namespace WebKit {
|
| struct WebPluginParams;
|
| +struct WebPrintParams;
|
| }
|
|
|
| namespace webkit {
|
| @@ -73,8 +74,12 @@ class WebPluginImpl : public WebKit::WebPlugin {
|
| virtual void stopFind();
|
| virtual bool supportsPaginatedPrint() OVERRIDE;
|
| virtual bool isPrintScalingDisabled() OVERRIDE;
|
| - virtual int printBegin(const WebKit::WebRect& printable_area,
|
| - int printer_dpi) OVERRIDE;
|
| +
|
| + // TODO(kmadhusu): Remove this function after fixing crbug.com/85132 and add
|
| + // OVERRIDE keyword to the overloaded function.
|
| + virtual int printBegin(const WebKit::WebRect& content_area,
|
| + int printer_dpi);
|
| + virtual int printBegin(const WebKit::WebPrintParams& print_params);
|
| virtual bool printPage(int page_number, WebKit::WebCanvas* canvas) OVERRIDE;
|
| virtual void printEnd() OVERRIDE;
|
|
|
|
|