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

Unified Diff: third_party/WebKit/Source/core/loader/resource/FontResourceTest.cpp

Issue 2814703004: Make blink::ResourceRequest ctors explicit (Closed)
Patch Set: simplify 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/resource/FontResourceTest.cpp
diff --git a/third_party/WebKit/Source/core/loader/resource/FontResourceTest.cpp b/third_party/WebKit/Source/core/loader/resource/FontResourceTest.cpp
index 43e7f03de79fd49465db5f2ac7dc08a54addcd8e..24abe79f993a3f5a283034218668257f96dd91db 100644
--- a/third_party/WebKit/Source/core/loader/resource/FontResourceTest.cpp
+++ b/third_party/WebKit/Source/core/loader/resource/FontResourceTest.cpp
@@ -108,7 +108,8 @@ TEST_F(FontResourceTest, CacheAwareFontLoading) {
ResourceFetcher* fetcher = ResourceFetcher::Create(
MockFetchContext::Create(MockFetchContext::kShouldLoadNewResource));
- FetchParameters fetch_params = FetchParameters(url, FetchInitiatorInfo());
+ FetchParameters fetch_params =
+ FetchParameters(ResourceRequest(url), FetchInitiatorInfo());
fetch_params.SetCacheAwareLoadingEnabled(kIsCacheAwareLoadingEnabled);
FontResource* resource = FontResource::Fetch(fetch_params, fetcher);
ASSERT_TRUE(resource);

Powered by Google App Engine
This is Rietveld 408576698