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

Unified Diff: third_party/WebKit/Source/core/testing/Internals.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/testing/Internals.cpp
diff --git a/third_party/WebKit/Source/core/testing/Internals.cpp b/third_party/WebKit/Source/core/testing/Internals.cpp
index 552119c21879c15481a47ff6761d7b9e489d07ea..ff913fda6f0b50ec200ac5b8b52848c2278a2579 100644
--- a/third_party/WebKit/Source/core/testing/Internals.cpp
+++ b/third_party/WebKit/Source/core/testing/Internals.cpp
@@ -430,7 +430,7 @@ int Internals::getResourcePriority(const String& url, Document* document) {
if (!document)
return ResourceLoadPriority::ResourceLoadPriorityUnresolved;
- Resource* resource = document->fetcher()->allResources().get(
+ Resource* resource = document->fetcher()->allResources().at(
URLTestHelpers::toKURL(url.utf8().data()));
if (!resource)
@@ -444,7 +444,7 @@ String Internals::getResourceHeader(const String& url,
Document* document) {
if (!document)
return String();
- Resource* resource = document->fetcher()->allResources().get(
+ Resource* resource = document->fetcher()->allResources().at(
URLTestHelpers::toKURL(url.utf8().data()));
if (!resource)
return String();

Powered by Google App Engine
This is Rietveld 408576698