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

Unified Diff: third_party/WebKit/Source/core/layout/LayoutView.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/LayoutView.cpp
diff --git a/third_party/WebKit/Source/core/layout/LayoutView.cpp b/third_party/WebKit/Source/core/layout/LayoutView.cpp
index d550901f2949c29e5c0ddd21576aa541b1821188..ec371a82dda91a49f58758a507a62571efa5b3a1 100644
--- a/third_party/WebKit/Source/core/layout/LayoutView.cpp
+++ b/third_party/WebKit/Source/core/layout/LayoutView.cpp
@@ -592,7 +592,7 @@ IntRect LayoutView::selectionBounds() {
while (cb && !cb->isLayoutView()) {
selRect.unite(selectionRectForLayoutObject(cb));
VisitedContainingBlockSet::AddResult addResult =
- visitedContainingBlocks.add(cb);
+ visitedContainingBlocks.insert(cb);
if (!addResult.isNewEntry)
break;
cb = cb->containingBlock();

Powered by Google App Engine
This is Rietveld 408576698