| Index: webkit/plugins/ppapi/ppapi_plugin_instance.h
|
| diff --git a/webkit/plugins/ppapi/ppapi_plugin_instance.h b/webkit/plugins/ppapi/ppapi_plugin_instance.h
|
| index 5ce4fcf0b3d287f128156eb16d1d32ada57840fa..0ab4d273826bf36bd993c97e071cb615846b75b1 100644
|
| --- a/webkit/plugins/ppapi/ppapi_plugin_instance.h
|
| +++ b/webkit/plugins/ppapi/ppapi_plugin_instance.h
|
| @@ -375,8 +375,8 @@ class PluginInstance : public base::RefCounted<PluginInstance> {
|
| // to keep the pixels valid until CGContextEndPage is called. We use this
|
| // variable to hold on to the pixels.
|
| scoped_refptr<PPB_ImageData_Impl> last_printed_page_;
|
| -#elif defined(OS_LINUX)
|
| - // On Linux, all pages need to be written to a PDF file in one shot. However,
|
| +#elif defined(OS_POSIX)
|
| + // On Unix, all pages need to be written to a PDF file in one shot. However,
|
| // when users print only a subset of all the pages, it is impossible to know
|
| // if a call to PrintPage() is the last call. Thus in PrintPage(), just store
|
| // the page number in |ranges_|.
|
| @@ -388,7 +388,7 @@ class PluginInstance : public base::RefCounted<PluginInstance> {
|
| WebKit::WebCanvas* canvas_;
|
| // An array of page ranges.
|
| std::vector<PP_PrintPageNumberRange_Dev> ranges_;
|
| -#endif // defined(OS_LINUX)
|
| +#endif // defined(OS_POSIX)
|
|
|
| // The plugin print interface. This nested struct adds functions needed for
|
| // backwards compatibility.
|
|
|