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

Unified Diff: src/core/SkInstCnt.cpp

Issue 841263004: Simplify SkInstCnt (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 5 years, 11 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
Index: src/core/SkInstCnt.cpp
diff --git a/src/core/SkInstCnt.cpp b/src/core/SkInstCnt.cpp
index 2f9a57dc2b63eec52720e93e970f7d7c10626749..1165bc1e3f0c56a1f230c221ff6eff3758f29294 100644
--- a/src/core/SkInstCnt.cpp
+++ b/src/core/SkInstCnt.cpp
@@ -7,6 +7,7 @@
#include "SkInstCnt.h"
robertphillips 2015/01/13 14:21:36 Make this positive and eliminate the #else ?
mtklein 2015/01/13 15:26:39 Done.
-#if SK_ENABLE_INST_COUNT
-bool gPrintInstCount = false;
+#if !SK_ENABLE_INST_COUNT || defined(SKIA_DLL) // See SkInstCnt.h
+#else
+ bool gPrintInstCount = false;
#endif

Powered by Google App Engine
This is Rietveld 408576698