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

Unified Diff: third_party/WebKit/Source/core/layout/LayoutBox.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/LayoutBox.cpp
diff --git a/third_party/WebKit/Source/core/layout/LayoutBox.cpp b/third_party/WebKit/Source/core/layout/LayoutBox.cpp
index 5c3b3afe4736616028e2b3511b10810084656d4f..24e8029cd76195d5c3b2fcb13c43c455ff6dd9f9 100644
--- a/third_party/WebKit/Source/core/layout/LayoutBox.cpp
+++ b/third_party/WebKit/Source/core/layout/LayoutBox.cpp
@@ -5673,7 +5673,7 @@ void LayoutBox::clearSnapAreas() {
}
void LayoutBox::addSnapArea(const LayoutBox& snapArea) {
- ensureRareData().ensureSnapAreas().add(&snapArea);
+ ensureRareData().ensureSnapAreas().insert(&snapArea);
}
void LayoutBox::removeSnapArea(const LayoutBox& snapArea) {

Powered by Google App Engine
This is Rietveld 408576698