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

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

Issue 2649853003: Make Resource::setResponse() private
Patch Set: Rebase Created 3 years, 11 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/core/html/ImageDocument.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/core/loader/FrameFetchContextTest.cpp
diff --git a/third_party/WebKit/Source/core/loader/FrameFetchContextTest.cpp b/third_party/WebKit/Source/core/loader/FrameFetchContextTest.cpp
index 12999262f5f3f27f88f92dba44fa1ff44a213e04..0569c231c01b0327411ca790757ea1cb04514a7f 100644
--- a/third_party/WebKit/Source/core/loader/FrameFetchContextTest.cpp
+++ b/third_party/WebKit/Source/core/loader/FrameFetchContextTest.cpp
@@ -678,7 +678,7 @@ TEST_F(FrameFetchContextMockedFrameLoaderClientTest,
response.setURL(url);
response.setHasMajorCertificateErrors(true);
Resource* resource = MockResource::create(resourceRequest);
- resource->setResponse(response);
+ resource->responseReceived(response, nullptr);
EXPECT_CALL(*client, didDisplayContentWithCertificateErrors(url));
fetchContext->dispatchDidLoadResourceFromMemoryCache(
createUniqueIdentifier(), resource, WebURLRequest::FrameTypeNone,
« no previous file with comments | « third_party/WebKit/Source/core/html/ImageDocument.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698