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

Unified Diff: third_party/WebKit/Source/web/tests/WebFrameTest.cpp

Issue 2741753003: Remove mutableResourceRequest() by FetchRequest::setRequestContext() (Closed)
Patch Set: fix Created 3 years, 9 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
« no previous file with comments | « third_party/WebKit/Source/platform/loader/testing/MockResource.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 a2fd5bc6e1f81b9c860c8f5171e9396187ed86b3..73e5f039a1cfd7aa6b174ac1b8e0fe3726261e72 100644
--- a/third_party/WebKit/Source/web/tests/WebFrameTest.cpp
+++ b/third_party/WebKit/Source/web/tests/WebFrameTest.cpp
@@ -8254,8 +8254,7 @@ TEST_P(ParameterizedWebFrameTest, NotifyManifestChange) {
static Resource* fetchManifest(Document* document, const KURL& url) {
FetchRequest fetchRequest =
FetchRequest(ResourceRequest(url), FetchInitiatorInfo());
- fetchRequest.mutableResourceRequest().setRequestContext(
- WebURLRequest::RequestContextManifest);
+ fetchRequest.setRequestContext(WebURLRequest::RequestContextManifest);
return RawResource::fetchSynchronously(fetchRequest, document->fetcher());
}
« no previous file with comments | « third_party/WebKit/Source/platform/loader/testing/MockResource.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698