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

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

Issue 2657443005: Migrate WTF::HashSet::add() to ::insert() [part 1 of N] (Closed)
Patch Set: Created 3 years, 11 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/DepthOrderedLayoutObjectList.cpp
diff --git a/third_party/WebKit/Source/core/layout/DepthOrderedLayoutObjectList.cpp b/third_party/WebKit/Source/core/layout/DepthOrderedLayoutObjectList.cpp
index 17528f5f6907a61704913df12dfd13fd5c8e580e..c1e9038ffece466def9955c275276bb9dcb0ec8d 100644
--- a/third_party/WebKit/Source/core/layout/DepthOrderedLayoutObjectList.cpp
+++ b/third_party/WebKit/Source/core/layout/DepthOrderedLayoutObjectList.cpp
@@ -38,7 +38,7 @@ bool DepthOrderedLayoutObjectList::isEmpty() const {
void DepthOrderedLayoutObjectList::add(LayoutObject& object) {
ASSERT(!object.frameView()->isInPerformLayout());
- m_data->m_objects.add(&object);
+ m_data->m_objects.insert(&object);
m_data->m_orderedObjects.clear();
}

Powered by Google App Engine
This is Rietveld 408576698