Index: third_party/WebKit/Source/wtf/InstanceCounter.cpp |
diff --git a/third_party/WebKit/Source/wtf/InstanceCounter.cpp b/third_party/WebKit/Source/wtf/InstanceCounter.cpp |
index cfffb5208497a6d6016a8f5cdd46b49636a3b3f5..30e1011de143dd6197913c422558e1dc67bdb354 100644 |
--- a/third_party/WebKit/Source/wtf/InstanceCounter.cpp |
+++ b/third_party/WebKit/Source/wtf/InstanceCounter.cpp |
@@ -64,9 +64,9 @@ String extractTypeNameFromFunctionName(const char* funcName) { |
stringWithTypeNamePrefixLength + stringWithTypeNamePostfixLength); |
const char* funcNameWithoutPrefix = funcName + stringWithTypeNamePrefixLength; |
- return String(funcNameWithoutPrefix, funcNameLength - |
- stringWithTypeNamePrefixLength - |
- stringWithTypeNamePostfixLength); |
+ return String(funcNameWithoutPrefix, |
+ funcNameLength - stringWithTypeNamePrefixLength - |
+ stringWithTypeNamePostfixLength); |
#else |
return String("unknown"); |
#endif |