| Index: content/renderer/pepper/pepper_plugin_instance_impl.cc
|
| diff --git a/content/renderer/pepper/pepper_plugin_instance_impl.cc b/content/renderer/pepper/pepper_plugin_instance_impl.cc
|
| index a1116811924e0ad9789ef791752b8a1de7341d0c..2d3cb6651bb5c060f6af0906d19253d2910eba58 100644
|
| --- a/content/renderer/pepper/pepper_plugin_instance_impl.cc
|
| +++ b/content/renderer/pepper/pepper_plugin_instance_impl.cc
|
| @@ -1699,6 +1699,13 @@ bool PepperPluginInstanceImpl::IsPrintScalingDisabled() {
|
| return plugin_print_interface_->IsScalingDisabled(pp_instance()) == PP_TRUE;
|
| }
|
|
|
| +int PepperPluginInstanceImpl::GetCopiesToPrint() {
|
| + DCHECK(plugin_print_interface_);
|
| + if (!plugin_print_interface_)
|
| + return 1;
|
| + return plugin_print_interface_->GetCopiesToPrint(pp_instance());
|
| +}
|
| +
|
| int PepperPluginInstanceImpl::PrintBegin(const WebPrintParams& print_params) {
|
| // Keep a reference on the stack. See NOTE above.
|
| scoped_refptr<PepperPluginInstanceImpl> ref(this);
|
|
|