| Index: ppapi/cpp/dev/printing_dev.cc
|
| diff --git a/ppapi/cpp/dev/printing_dev.cc b/ppapi/cpp/dev/printing_dev.cc
|
| index 93055e7cf631122210237141a846a4932474d15f..6c07be96ed6081ad8cee8ee5c82acdbd244bda4f 100644
|
| --- a/ppapi/cpp/dev/printing_dev.cc
|
| +++ b/ppapi/cpp/dev/printing_dev.cc
|
| @@ -49,11 +49,22 @@ void End(PP_Instance instance) {
|
| static_cast<Printing_Dev*>(object)->PrintEnd();
|
| }
|
|
|
| +PP_Bool IsScalingDisabled(PP_Instance instance) {
|
| + void* object =
|
| + pp::Instance::GetPerInstanceObject(instance, kPPPPrintingInterface);
|
| + if (!object)
|
| + return PP_FALSE;
|
| + bool return_value =
|
| + static_cast<Printing_Dev*>(object)->IsPrintScalingDisabled();
|
| + return PP_FromBool(return_value);
|
| +}
|
| +
|
| const PPP_Printing_Dev ppp_printing = {
|
| &QuerySupportedFormats,
|
| &Begin,
|
| &PrintPages,
|
| - &End
|
| + &End,
|
| + &IsScalingDisabled
|
| };
|
|
|
| } // namespace
|
|
|