| 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
|
|
|