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