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

Unified Diff: third_party/WebKit/Source/platform/network/ParsedContentType.cpp

Issue 2709033003: Migrate WTF::HashMap::get() to ::at() (Closed)
Patch Set: rebase Created 3 years, 10 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/platform/network/ParsedContentType.cpp
diff --git a/third_party/WebKit/Source/platform/network/ParsedContentType.cpp b/third_party/WebKit/Source/platform/network/ParsedContentType.cpp
index 57d3943787f6781dd14188e5dc4cf3a386e21b60..fb288e72b75104017e639190c2c67bc29534f4fc 100644
--- a/third_party/WebKit/Source/platform/network/ParsedContentType.cpp
+++ b/third_party/WebKit/Source/platform/network/ParsedContentType.cpp
@@ -166,7 +166,7 @@ String ParsedContentType::charset() const {
String ParsedContentType::parameterValueForName(const String& name) const {
if (!name.containsOnlyASCII())
return String();
- return m_parameters.get(name.lower());
+ return m_parameters.at(name.lower());
}
size_t ParsedContentType::parameterCount() const {

Powered by Google App Engine
This is Rietveld 408576698