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

Unified Diff: third_party/WebKit/Source/web/tests/WebFrameTest.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/web/tests/WebFrameTest.cpp
diff --git a/third_party/WebKit/Source/web/tests/WebFrameTest.cpp b/third_party/WebKit/Source/web/tests/WebFrameTest.cpp
index 7c1a88f1b0d42df43a2d01da0d40de57f714d36c..c2d05760f89da2d2a59c6ff65d6c3f7cecc93e44 100644
--- a/third_party/WebKit/Source/web/tests/WebFrameTest.cpp
+++ b/third_party/WebKit/Source/web/tests/WebFrameTest.cpp
@@ -10524,7 +10524,7 @@ class TestResourcePriorityWebFrameClient
TestResourcePriorityWebFrameClient() {}
void willSendRequest(WebLocalFrame*, WebURLRequest& request) override {
- ExpectedRequest* expectedRequest = m_expectedRequests.get(request.url());
+ ExpectedRequest* expectedRequest = m_expectedRequests.at(request.url());
DCHECK(expectedRequest);
EXPECT_EQ(expectedRequest->priority, request.getPriority());
expectedRequest->seen = true;
@@ -10571,7 +10571,7 @@ TEST_F(WebFrameTest, ChangeResourcePriority) {
->document()
->fetcher()
->allResources()
- .get(toKURL("http://internal.test/image_slow.pl"));
+ .at(toKURL("http://internal.test/image_slow.pl"));
DCHECK(image);
EXPECT_EQ(ResourceLoadPriorityHigh, image->resourceRequest().priority());
« no previous file with comments | « third_party/WebKit/Source/web/tests/FrameSerializerTest.cpp ('k') | third_party/WebKit/Source/wtf/HashCountedSet.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698