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

Unified Diff: third_party/WebKit/Source/wtf/InstanceCounter.h

Issue 1611343002: wtf reformat test Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: pydent Created 4 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 | « third_party/WebKit/Source/wtf/HexNumber.h ('k') | third_party/WebKit/Source/wtf/InstanceCounter.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/wtf/InstanceCounter.h
diff --git a/third_party/WebKit/Source/wtf/InstanceCounter.h b/third_party/WebKit/Source/wtf/InstanceCounter.h
index 8edb31a46379d896097424b64aef35ff71cada5d..f9a16bff4da8d29b461872a9868b2d498430a7fd 100644
--- a/third_party/WebKit/Source/wtf/InstanceCounter.h
+++ b/third_party/WebKit/Source/wtf/InstanceCounter.h
@@ -36,25 +36,25 @@ class String;
WTF_EXPORT String dumpRefCountedInstanceCounts();
#if ENABLE(INSTANCE_COUNTER) || ENABLE(DETAILED_MEMORY_INFRA)
-WTF_EXPORT void incrementInstanceCount(const char* stringWithTypeName, void* ptr);
-WTF_EXPORT void decrementInstanceCount(const char* stringWithTypeName, void* ptr);
+WTF_EXPORT void incrementInstanceCount(const char* stringWithTypeName,
+ void* ptr);
+WTF_EXPORT void decrementInstanceCount(const char* stringWithTypeName,
+ void* ptr);
WTF_EXPORT String extractTypeNameFromFunctionName(const char* funcName);
-template<typename T>
-inline void incrementInstanceCount(T* p)
-{
- incrementInstanceCount(getStringWithTypeName<T>(), p);
+template <typename T>
+inline void incrementInstanceCount(T* p) {
+ incrementInstanceCount(getStringWithTypeName<T>(), p);
}
-template<typename T>
-inline void decrementInstanceCount(T* p)
-{
- decrementInstanceCount(getStringWithTypeName<T>(), p);
+template <typename T>
+inline void decrementInstanceCount(T* p) {
+ decrementInstanceCount(getStringWithTypeName<T>(), p);
}
-#endif // ENABLE(INSTANCE_COUNTER) || ENABLE(DETAILED_MEMORY_INFRA)
+#endif // ENABLE(INSTANCE_COUNTER) || ENABLE(DETAILED_MEMORY_INFRA)
-} // namespace WTF
+} // namespace WTF
#endif
« no previous file with comments | « third_party/WebKit/Source/wtf/HexNumber.h ('k') | third_party/WebKit/Source/wtf/InstanceCounter.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698