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

Unified Diff: third_party/WebKit/Source/core/xml/XSLTProcessor.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/xml/XSLTProcessor.cpp
diff --git a/third_party/WebKit/Source/core/xml/XSLTProcessor.cpp b/third_party/WebKit/Source/core/xml/XSLTProcessor.cpp
index c2aaba3f928403e83c9be3907f8e4335afd2e1e7..9d98069a8a8ebdcb5a5d560eb566f010ebf1c363 100644
--- a/third_party/WebKit/Source/core/xml/XSLTProcessor.cpp
+++ b/third_party/WebKit/Source/core/xml/XSLTProcessor.cpp
@@ -156,7 +156,7 @@ String XSLTProcessor::getParameter(const String& /*namespaceURI*/,
void XSLTProcessor::removeParameter(const String& /*namespaceURI*/,
const String& localName) {
// FIXME: namespace support?
- m_parameters.remove(localName);
+ m_parameters.erase(localName);
}
void XSLTProcessor::reset() {

Powered by Google App Engine
This is Rietveld 408576698