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

Unified Diff: third_party/WebKit/Source/core/layout/LayoutGrid.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/LayoutGrid.cpp
diff --git a/third_party/WebKit/Source/core/layout/LayoutGrid.cpp b/third_party/WebKit/Source/core/layout/LayoutGrid.cpp
index bf6bd6c7d3566b0d43daa8aa67d55e652fc6e950..554dd56f02e6a7f27964a87cb991eb8c92460a91 100644
--- a/third_party/WebKit/Source/core/layout/LayoutGrid.cpp
+++ b/third_party/WebKit/Source/core/layout/LayoutGrid.cpp
@@ -572,7 +572,7 @@ LayoutGrid::computeEmptyTracksForAutoRepeat(
emptyTrackIndexes = WTF::wrapUnique(new OrderedTrackIndexSet);
for (size_t trackIndex = firstAutoRepeatTrack;
trackIndex < lastAutoRepeatTrack; ++trackIndex)
- emptyTrackIndexes->add(trackIndex);
+ emptyTrackIndexes->insert(trackIndex);
} else {
for (size_t trackIndex = firstAutoRepeatTrack;
trackIndex < lastAutoRepeatTrack; ++trackIndex) {
@@ -580,7 +580,7 @@ LayoutGrid::computeEmptyTracksForAutoRepeat(
if (!iterator.nextGridItem()) {
if (!emptyTrackIndexes)
emptyTrackIndexes = WTF::wrapUnique(new OrderedTrackIndexSet);
- emptyTrackIndexes->add(trackIndex);
+ emptyTrackIndexes->insert(trackIndex);
}
}
}

Powered by Google App Engine
This is Rietveld 408576698