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

Unified Diff: third_party/WebKit/Source/core/page/scrolling/ScrollCustomizationCallbacks.cpp

Issue 2673543003: Migrate WTF::HashMap::remove() to ::erase() (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/page/scrolling/ScrollCustomizationCallbacks.cpp
diff --git a/third_party/WebKit/Source/core/page/scrolling/ScrollCustomizationCallbacks.cpp b/third_party/WebKit/Source/core/page/scrolling/ScrollCustomizationCallbacks.cpp
index d3524906be43cef1317b6b53b8cc50cf4e1b92fa..4246355b549f72849ea5ec577d8eb22c7bc961ae 100644
--- a/third_party/WebKit/Source/core/page/scrolling/ScrollCustomizationCallbacks.cpp
+++ b/third_party/WebKit/Source/core/page/scrolling/ScrollCustomizationCallbacks.cpp
@@ -29,7 +29,7 @@ void ScrollCustomizationCallbacks::setApplyScroll(
}
void ScrollCustomizationCallbacks::removeApplyScroll(Element* element) {
- m_applyScrollCallbacks.remove(element);
+ m_applyScrollCallbacks.erase(element);
}
ScrollStateCallback* ScrollCustomizationCallbacks::getApplyScroll(

Powered by Google App Engine
This is Rietveld 408576698