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

Unified Diff: third_party/WebKit/Source/core/inspector/InspectorCSSAgent.cpp

Issue 2796163002: Migrate WTF::HashCountedSet::add() to ::insert() (Closed)
Patch Set: Created 3 years, 8 months 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
Index: third_party/WebKit/Source/core/inspector/InspectorCSSAgent.cpp
diff --git a/third_party/WebKit/Source/core/inspector/InspectorCSSAgent.cpp b/third_party/WebKit/Source/core/inspector/InspectorCSSAgent.cpp
index 6b466af375f2da80dde872da1326691f0923eccb..eb2b5e8985d68c2a4f73dc3ca06365385f8e6da4 100644
--- a/third_party/WebKit/Source/core/inspector/InspectorCSSAgent.cpp
+++ b/third_party/WebKit/Source/core/inspector/InspectorCSSAgent.cpp
@@ -1144,7 +1144,7 @@ void InspectorCSSAgent::collectPlatformFontsForLayoutObject(
String familyName = simpleFontData->platformData().fontFamilyName();
if (familyName.isNull())
familyName = "";
- fontStats->add(
+ fontStats->insert(
std::make_pair(simpleFontData->isCustomFont() ? 1 : 0, familyName),
runFontData.m_glyphCount);
}

Powered by Google App Engine
This is Rietveld 408576698