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 2ef4710bce289cad90420d4e5f62838cdf2d8cc0..7b2f968c8ec282680c646535c4a5ac5d638265a5 100644 |
--- a/webkit/plugins/ppapi/ppapi_plugin_instance.h |
+++ b/webkit/plugins/ppapi/ppapi_plugin_instance.h |
@@ -401,7 +401,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 WEBKIT_USING_SKIA |
+#if defined(OS_LINUX) || defined(OS_WIN) |
// 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. |
@@ -414,7 +414,7 @@ class PluginInstance : public base::RefCounted<PluginInstance>, |
SkRefPtr<WebKit::WebCanvas> canvas_; |
// An array of page ranges. |
std::vector<PP_PrintPageNumberRange_Dev> ranges_; |
-#endif // WEBKIT_USING_SKIA |
+#endif // OS_LINUX || OS_WIN |
// The plugin print interface. This nested struct adds functions needed for |
// backwards compatibility. |