Index: experimental/PdfViewer/SkTrackDevice.h |
diff --git a/experimental/PdfViewer/SkTrackDevice.h b/experimental/PdfViewer/SkTrackDevice.h |
index a4f40bc57813fa5b4d6b1b81e21a2fbcf2ea34f0..bb6aace46baa496378b75afc94eba316ebf54302 100644 |
--- a/experimental/PdfViewer/SkTrackDevice.h |
+++ b/experimental/PdfViewer/SkTrackDevice.h |
@@ -33,6 +33,7 @@ public: |
: SkBitmapDevice(bitmap, deviceProperties) |
, fTracker(NULL) {} |
+#ifdef SK_SUPPORT_LEGACY_COMPATIBLEDEVICE_CONFIG |
SkTrackDevice(SkBitmap::Config config, int width, int height, bool isOpaque = false) |
: SkBitmapDevice(config, width, height, isOpaque) |
, fTracker(NULL) {} |
@@ -41,6 +42,7 @@ public: |
const SkDeviceProperties& deviceProperties) |
: SkBitmapDevice(config, width, height, isOpaque, deviceProperties) |
, fTracker(NULL) {} |
+#endif |
virtual ~SkTrackDevice() {} |