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

Unified Diff: skia/ext/platform_device.h

Issue 1457033002: Get rid of unused skia::IsDraftMode() (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 1 month 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
Index: skia/ext/platform_device.h
diff --git a/skia/ext/platform_device.h b/skia/ext/platform_device.h
index f3b2fe34e27ba3bcced0545e3a080d43f614b946..1d826e996f3dbbf4ae713adff0ced63fee0b46ef 100644
--- a/skia/ext/platform_device.h
+++ b/skia/ext/platform_device.h
@@ -74,10 +74,8 @@ SK_API CGContextRef GetBitmapContext(SkBaseDevice* device);
// Following routines are used in print preview workflow to mark the draft mode
Lei Zhang 2015/11/18 20:19:35 comment needs updating
// metafile and preview metafile.
SK_API SkMetaData& getMetaData(const SkCanvas& canvas);
-SK_API void SetIsDraftMode(const SkCanvas& canvas, bool draft_mode);
-SK_API bool IsDraftMode(const SkCanvas& canvas);
-#if defined(OS_MACOSX) || defined(OS_WIN)
+#if defined(OS_MACOSX)
SK_API void SetIsPreviewMetafile(const SkCanvas& canvas, bool is_preview);
SK_API bool IsPreviewMetafile(const SkCanvas& canvas);
#endif

Powered by Google App Engine
This is Rietveld 408576698