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 346e157f9b863ed9825f680e410e3404fa853558..a09573aaa6af189f4d32fa37d77840f220f9c52a 100644 |
--- a/webkit/plugins/ppapi/ppapi_plugin_instance.h |
+++ b/webkit/plugins/ppapi/ppapi_plugin_instance.h |
@@ -434,7 +434,7 @@ class PluginInstance : public base::RefCounted<PluginInstance>, |
// variable to hold on to the pixels. |
scoped_refptr<PPB_ImageData_Impl> last_printed_page_; |
#endif // defined(OS_MACOSX) |
-#if defined(OS_LINUX) || defined(OS_WIN) |
+#if defined(USE_SKIA) |
// When printing to PDF (print preview, Linux) the entire document goes into |
// one metafile. 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. |