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

Unified Diff: third_party/WebKit/Source/core/loader/LinkLoaderTest.cpp

Issue 2834733003: Separate preaload matching from MemoryCache (Closed)
Patch Set: fix Created 3 years, 8 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/loader/LinkLoaderTest.cpp
diff --git a/third_party/WebKit/Source/core/loader/LinkLoaderTest.cpp b/third_party/WebKit/Source/core/loader/LinkLoaderTest.cpp
index 60e4eaec7b9db9dd9f64d29110bbc5461ad5053e..23463afe4b8be089e506a12b11f6be92c37ee0f6 100644
--- a/third_party/WebKit/Source/core/loader/LinkLoaderTest.cpp
+++ b/third_party/WebKit/Source/core/loader/LinkLoaderTest.cpp
@@ -127,7 +127,7 @@ TEST_P(LinkLoaderPreloadTest, Preload) {
ASSERT_EQ(1, fetcher->CountPreloads());
Resource* resource = loader->LinkPreloadedResourceForTesting();
ASSERT_NE(resource, nullptr);
- EXPECT_TRUE(fetcher->ContainsAsPreloadForTesting(resource));
+ EXPECT_TRUE(fetcher->ContainsAsPreload(resource));
EXPECT_EQ(test_case.priority, resource->GetResourceRequest().Priority());
EXPECT_EQ(test_case.context,
resource->GetResourceRequest().GetRequestContext());
« no previous file with comments | « third_party/WebKit/Source/core/loader/DocumentLoader.cpp ('k') | third_party/WebKit/Source/platform/loader/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698