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

Unified Diff: third_party/WebKit/Source/core/paint/TableSectionPainter.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/paint/TableSectionPainter.cpp
diff --git a/third_party/WebKit/Source/core/paint/TableSectionPainter.cpp b/third_party/WebKit/Source/core/paint/TableSectionPainter.cpp
index 983c3269d84e5f4ad5eb2fdbfbbf8bf57effaefd..d04b1ea37aecf5336802480154aba98ad386cab7 100644
--- a/third_party/WebKit/Source/core/paint/TableSectionPainter.cpp
+++ b/third_party/WebKit/Source/core/paint/TableSectionPainter.cpp
@@ -311,7 +311,7 @@ void TableSectionPainter::paintObject(const PaintInfo& paintInfo,
if (overflowingCells.contains(cell))
continue;
if (cell->rowSpan() > 1 || cell->colSpan() > 1) {
- if (!spanningCells.add(cell).isNewEntry)
+ if (!spanningCells.insert(cell).isNewEntry)
continue;
}
cells.push_back(cell);

Powered by Google App Engine
This is Rietveld 408576698