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

Unified Diff: third_party/WebKit/Source/core/layout/FloatingObjects.cpp

Issue 2724363002: Migrate WTF::LinkedHashSet/ListHashSet::add() to ::insert() (Closed)
Patch Set: Created 3 years, 10 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/layout/FloatingObjects.cpp
diff --git a/third_party/WebKit/Source/core/layout/FloatingObjects.cpp b/third_party/WebKit/Source/core/layout/FloatingObjects.cpp
index 71a5330cf764fbe5f601ef90b1db3c46c4e377e0..ba37e2850bb8251b9a23eb709f2c79bc1ef8c13c 100644
--- a/third_party/WebKit/Source/core/layout/FloatingObjects.cpp
+++ b/third_party/WebKit/Source/core/layout/FloatingObjects.cpp
@@ -531,7 +531,7 @@ FloatingObject* FloatingObjects::add(
std::unique_ptr<FloatingObject> floatingObject) {
FloatingObject* newObject = floatingObject.release();
increaseObjectsCount(newObject->getType());
- m_set.add(WTF::wrapUnique(newObject));
+ m_set.insert(WTF::wrapUnique(newObject));
if (newObject->isPlaced())
addPlacedObject(*newObject);
markLowestFloatLogicalBottomCacheAsDirty();

Powered by Google App Engine
This is Rietveld 408576698