| 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 9384bb5bf72f96ed55c2f067761f06f4f620fd12..1840b622a5e3fc54a0dcc7b58991c0bd9f892169 100644
|
| --- a/third_party/WebKit/Source/core/loader/FrameFetchContextTest.cpp
|
| +++ b/third_party/WebKit/Source/core/loader/FrameFetchContextTest.cpp
|
| @@ -32,6 +32,7 @@
|
|
|
| #include "core/dom/Document.h"
|
| #include "core/fetch/FetchInitiatorInfo.h"
|
| +#include "core/fetch/MockResource.h"
|
| #include "core/fetch/UniqueIdentifier.h"
|
| #include "core/frame/FrameHost.h"
|
| #include "core/frame/FrameOwner.h"
|
| @@ -678,7 +679,7 @@ TEST_F(FrameFetchContextTest, DisabledDataSaver) {
|
| TEST_F(FrameFetchContextMockedFrameLoaderClientTest,
|
| DispatchDidLoadResourceFromMemoryCache) {
|
| ResourceRequest resourceRequest(url);
|
| - Resource* resource = ImageResource::create(resourceRequest);
|
| + Resource* resource = MockResource::create(resourceRequest);
|
| EXPECT_CALL(
|
| *client,
|
| dispatchDidLoadResourceFromMemoryCache(
|
| @@ -701,7 +702,7 @@ TEST_F(FrameFetchContextMockedFrameLoaderClientTest,
|
| ResourceResponse response;
|
| response.setURL(url);
|
| response.setHasMajorCertificateErrors(true);
|
| - Resource* resource = ImageResource::create(resourceRequest);
|
| + Resource* resource = MockResource::create(resourceRequest);
|
| resource->setResponse(response);
|
| EXPECT_CALL(*client, didDisplayContentWithCertificateErrors(url));
|
| fetchContext->dispatchDidLoadResourceFromMemoryCache(
|
|
|