diff --git a/widget/windows/nsDeviceContextSpecWin.h b/widget/windows/nsDeviceContextSpecWin.h index eecf14cf1147..4548445a3ea3 100644 --- a/widget/windows/nsDeviceContextSpecWin.h +++ b/widget/windows/nsDeviceContextSpecWin.h @@ -27,7 +27,9 @@ class PDFViaEMFPrintHelper; class nsDeviceContextSpecWin : public nsIDeviceContextSpec { +#ifdef MOZ_ENABLE_SKIA_PDF typedef mozilla::widget::PDFViaEMFPrintHelper PDFViaEMFPrintHelper; +#endif public: nsDeviceContextSpecWin();