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

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

Issue 1436153002: Apply clang-format with Chromium-style without column limit. (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 | « 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 37f13fabe46663d77e37c7675a8bb9c39cb1085e..b65bef57870a5b8163767bc38c70f8c97c31d1c1 100644
--- a/third_party/WebKit/Source/wtf/InstanceCounter.h
+++ b/third_party/WebKit/Source/wtf/InstanceCounter.h
@@ -40,27 +40,23 @@ WTF_EXPORT void decrementInstanceCount(const char* extractNameFunctionName, void
WTF_EXPORT String extractTypeNameFromFunctionName(const char* funcName);
-template<typename T>
-inline const char* extractNameFunction()
-{
- return WTF_PRETTY_FUNCTION;
+template <typename T>
+inline const char* extractNameFunction() {
+ return WTF_PRETTY_FUNCTION;
}
-
-template<typename T>
-inline void incrementInstanceCount(T* p)
-{
- incrementInstanceCount(extractNameFunction<T>(), p);
+template <typename T>
+inline void incrementInstanceCount(T* p) {
+ incrementInstanceCount(extractNameFunction<T>(), p);
}
-template<typename T>
-inline void decrementInstanceCount(T* p)
-{
- decrementInstanceCount(extractNameFunction<T>(), p);
+template <typename T>
+inline void decrementInstanceCount(T* p) {
+ decrementInstanceCount(extractNameFunction<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