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

Unified Diff: third_party/WebKit/Source/core/frame/csp/SourceListDirective.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/core/frame/csp/SourceListDirective.cpp
diff --git a/third_party/WebKit/Source/core/frame/csp/SourceListDirective.cpp b/third_party/WebKit/Source/core/frame/csp/SourceListDirective.cpp
index c53f5b901e4756ae556f01fd316ae05e9a26ea58..0a81bf5eac573291ba8cb145ce3b09a3b6648331 100644
--- a/third_party/WebKit/Source/core/frame/csp/SourceListDirective.cpp
+++ b/third_party/WebKit/Source/core/frame/csp/SourceListDirective.cpp
@@ -767,9 +767,9 @@ SourceListDirective::getIntersectSchemesOnly(
if (schemesA.contains(sourceB->getScheme()))
addSourceToMap(intersect, sourceB);
else if (sourceB->getScheme() == "http" && schemesA.contains("https"))
- intersect.insert("https", schemesA.get("https"));
+ intersect.insert("https", schemesA.at("https"));
else if (sourceB->getScheme() == "ws" && schemesA.contains("wss"))
- intersect.insert("wss", schemesA.get("wss"));
+ intersect.insert("wss", schemesA.at("wss"));
}
}
« no previous file with comments | « third_party/WebKit/Source/core/frame/PerformanceMonitor.cpp ('k') | third_party/WebKit/Source/core/html/HTMLCollection.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698