Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(827)

Unified Diff: experimental/PdfViewer/SkTrackDevice.h

Issue 168653002: Change device factories to take SkImageInfo instead of SkBitmap::Config (Closed) Base URL: https://skia.googlecode.com/svn/trunk
Patch Set: fix PdfViewer Created 6 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « dm/DMUtil.cpp ('k') | include/core/SkBitmapDevice.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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() {}
« no previous file with comments | « dm/DMUtil.cpp ('k') | include/core/SkBitmapDevice.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698