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

Unified Diff: third_party/WebKit/Source/core/css/CSSImageGeneratorValue.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/css/CSSImageGeneratorValue.cpp
diff --git a/third_party/WebKit/Source/core/css/CSSImageGeneratorValue.cpp b/third_party/WebKit/Source/core/css/CSSImageGeneratorValue.cpp
index ab86f9f315ec3cff7c1bb2e9aefeeb66f162c662..d6f7a9dcac1f35c518fa249e340df6068ed6b44a 100644
--- a/third_party/WebKit/Source/core/css/CSSImageGeneratorValue.cpp
+++ b/third_party/WebKit/Source/core/css/CSSImageGeneratorValue.cpp
@@ -47,7 +47,7 @@ void CSSImageGeneratorValue::addClient(const LayoutObject* layoutObject,
}
if (!size.isEmpty())
- m_sizes.add(size);
+ m_sizes.insert(size);
LayoutObjectSizeCountMap::iterator it = m_clients.find(layoutObject);
if (it == m_clients.end()) {

Powered by Google App Engine
This is Rietveld 408576698