Bug 1380301 - Add missing "#ifdef MOZ_ENABLE_SKIA_PDF" to nsDeviceContextSpecWin.h
MozReview-Commit-ID: YxvOID7Xbp
--- a/widget/windows/nsDeviceContextSpecWin.h
+++ b/widget/windows/nsDeviceContextSpecWin.h
@@ -22,17 +22,19 @@ namespace mozilla {
namespace widget {
class PDFViaEMFPrintHelper;
}
}
#endif
class nsDeviceContextSpecWin : public nsIDeviceContextSpec
{
+#ifdef MOZ_ENABLE_SKIA_PDF
typedef mozilla::widget::PDFViaEMFPrintHelper PDFViaEMFPrintHelper;
+#endif
public:
nsDeviceContextSpecWin();
NS_DECL_ISUPPORTS
virtual already_AddRefed<PrintTarget> MakePrintTarget() final;
NS_IMETHOD BeginDocument(const nsAString& aTitle,