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

Unified Diff: src/core/SkInstCnt.cpp

Issue 893043002: DM: wire up --leaks / -l again (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
« no previous file with comments | « include/core/SkInstCnt.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/core/SkInstCnt.cpp
diff --git a/src/core/SkInstCnt.cpp b/src/core/SkInstCnt.cpp
index 0211b123ee964c931641ed5d2c063ecbdb8f29ef..b58c3c0dcbc86697e4e0fe5400b89e96eb6bce43 100644
--- a/src/core/SkInstCnt.cpp
+++ b/src/core/SkInstCnt.cpp
@@ -9,4 +9,7 @@
#if SK_ENABLE_INST_COUNT && !defined(SKIA_DLL) // See SkInstCnt.h
bool gPrintInstCount = false;
+ void SkInstCountPrintLeaksOnExit() { gPrintInstCount = true; }
+#else
+ void SkInstCountPrintLeaksOnExit() {}
#endif
« no previous file with comments | « include/core/SkInstCnt.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698