Index: Source/wtf/InstanceCounter.cpp |
diff --git a/Source/wtf/InstanceCounter.cpp b/Source/wtf/InstanceCounter.cpp |
index 8524b685f5c97a4e5300b5257dad94b8aa135a89..19f0bf71d154720e9990de9c74dab519c9b015b1 100644 |
--- a/Source/wtf/InstanceCounter.cpp |
+++ b/Source/wtf/InstanceCounter.cpp |
@@ -96,7 +96,7 @@ void InstanceCounter::incrementInstanceCount(const String& instanceName, void* p |
MutexLocker locker(m_mutex); |
HashMap<String, int>::AddResult result = m_counterMap.add(instanceName, 1); |
if (!result.isNewEntry) |
- ++(result.iterator->value); |
+ ++(result.storedValue->value); |
} |
void InstanceCounter::decrementInstanceCount(const String& instanceName, void* ptr) |