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

Unified Diff: skia/ext/platform_canvas.cc

Issue 1480393002: Fix unused function: SetBoolMetaData (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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: skia/ext/platform_canvas.cc
diff --git a/skia/ext/platform_canvas.cc b/skia/ext/platform_canvas.cc
index 0df64962bbcc7938e6bf04e67b0b6982418479f9..8623dc0be4e707a04e76dcfbe51eea5adc5d358a 100644
--- a/skia/ext/platform_canvas.cc
+++ b/skia/ext/platform_canvas.cc
@@ -14,7 +14,6 @@ namespace {
#if defined(OS_MACOSX)
const char kIsPreviewMetafileKey[] = "CrIsPreviewMetafile";
-#endif
void SetBoolMetaData(const SkCanvas& canvas, const char* key, bool value) {
SkMetaData& meta = skia::GetMetaData(canvas);
@@ -28,6 +27,7 @@ bool GetBoolMetaData(const SkCanvas& canvas, const char* key) {
value = false;
return value;
}
+#endif
} // namespace
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698