chromium 11.0.969.72
[chromium.git] / patches / patch-webkit_plugins_ppapi_ppapi__plugin__instance.h
1 $NetBSD$
2
3 --- webkit/plugins/ppapi/ppapi_plugin_instance.h.orig   2011-04-13 08:01:07.000000000 +0000
4 +++ webkit/plugins/ppapi/ppapi_plugin_instance.h
5 @@ -297,7 +297,7 @@ class PluginInstance : public base::RefC
6    // to keep the pixels valid until CGContextEndPage is called. We use this
7    // variable to hold on to the pixels.
8    scoped_refptr<PPB_ImageData_Impl> last_printed_page_;
9 -#elif defined(OS_LINUX)
10 +#elif defined(OS_LINUX) || defined(OS_BSD)
11    // On Linux, all pages need to be written to a PDF file in one shot. However,
12    // when users print only a subset of all the pages, it is impossible to know
13    // if a call to PrintPage() is the last call. Thus in PrintPage(), just store