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

Side by Side Diff: include/core/SkInstCnt.h

Issue 893043002: DM: wire up --leaks / -l again (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 5 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 unified diff | Download patch
« no previous file with comments | « dm/DM.cpp ('k') | src/core/SkInstCnt.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright 2012 Google Inc. 2 * Copyright 2012 Google Inc.
3 * 3 *
4 * Use of this source code is governed by a BSD-style license that can be 4 * Use of this source code is governed by a BSD-style license that can be
5 * found in the LICENSE file. 5 * found in the LICENSE file.
6 */ 6 */
7 7
8 #ifndef SkInstCnt_DEFINED 8 #ifndef SkInstCnt_DEFINED
9 #define SkInstCnt_DEFINED 9 #define SkInstCnt_DEFINED
10 10
(...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after
70 private: 70 private:
71 static int32_t gCount, gRegistered; 71 static int32_t gCount, gRegistered;
72 }; 72 };
73 // As template values, these will be deduplicated. (No one-definition rule problems.) 73 // As template values, these will be deduplicated. (No one-definition rule problems.)
74 template <typename T, const char*(Name)()> int32_t SkInstCount<T, Name>::gCo unt = 0; 74 template <typename T, const char*(Name)()> int32_t SkInstCount<T, Name>::gCo unt = 0;
75 template <typename T, const char*(Name)()> int32_t SkInstCount<T, Name>::gRe gistered = 0; 75 template <typename T, const char*(Name)()> int32_t SkInstCount<T, Name>::gRe gistered = 0;
76 #else 76 #else
77 #define SK_DECLARE_INST_COUNT(T) 77 #define SK_DECLARE_INST_COUNT(T)
78 #endif 78 #endif
79 79
80 void SkInstCountPrintLeaksOnExit();
81
80 #endif // SkInstCnt_DEFINED 82 #endif // SkInstCnt_DEFINED
OLDNEW
« no previous file with comments | « dm/DM.cpp ('k') | src/core/SkInstCnt.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698