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/LayoutBlockFlow.cpp

Issue 2759703002: Migrate WTF::HashMap::remove() to ::erase() (Closed)
Patch Set: rebase, fix one platform-specific reference Created 3 years, 9 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/LayoutBlockFlow.cpp
diff --git a/third_party/WebKit/Source/core/layout/LayoutBlockFlow.cpp b/third_party/WebKit/Source/core/layout/LayoutBlockFlow.cpp
index 6757fd6d0732ee9cd4a3ac93657b26ab9b8458ea..34394d9fefa93349d81016ebb644b680f17f947e 100644
--- a/third_party/WebKit/Source/core/layout/LayoutBlockFlow.cpp
+++ b/third_party/WebKit/Source/core/layout/LayoutBlockFlow.cpp
@@ -1386,7 +1386,7 @@ void LayoutBlockFlow::rebuildFloatsFromIntruding() {
oldFloatingObject->originatingLine()->markDirty();
}
- floatMap.remove(floatingObject.layoutObject());
+ floatMap.erase(floatingObject.layoutObject());
} else {
changeLogicalTop = LayoutUnit();
changeLogicalBottom = std::max(changeLogicalBottom, logicalBottom);

Powered by Google App Engine
This is Rietveld 408576698