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

Unified Diff: third_party/WebKit/Source/core/layout/SubtreeLayoutScope.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/SubtreeLayoutScope.cpp
diff --git a/third_party/WebKit/Source/core/layout/SubtreeLayoutScope.cpp b/third_party/WebKit/Source/core/layout/SubtreeLayoutScope.cpp
index 212ac74eec7b26823d289c5a2e430f8cfcf13aec..f64728ec24add073464eb302cb936c783dc2e3f5 100644
--- a/third_party/WebKit/Source/core/layout/SubtreeLayoutScope.cpp
+++ b/third_party/WebKit/Source/core/layout/SubtreeLayoutScope.cpp
@@ -63,7 +63,7 @@ void SubtreeLayoutScope::setChildNeedsLayout(LayoutObject* descendant) {
void SubtreeLayoutScope::recordObjectMarkedForLayout(
LayoutObject* layoutObject) {
#if DCHECK_IS_ON()
- m_layoutObjectsToLayout.add(layoutObject);
+ m_layoutObjectsToLayout.insert(layoutObject);
#endif
}
« no previous file with comments | « third_party/WebKit/Source/core/layout/LayoutView.cpp ('k') | third_party/WebKit/Source/core/layout/TextAutosizer.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698