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 2dd2c8312014b657bc3b4facd3c650ea4569f142..8f51fa4114f6a4ebe2efd46fb9b950b3e5add4e4 100644 |
--- a/third_party/WebKit/Source/core/loader/FrameFetchContextTest.cpp |
+++ b/third_party/WebKit/Source/core/loader/FrameFetchContextTest.cpp |
@@ -575,7 +575,7 @@ TEST_F(FrameFetchContextDisplayedCertificateErrorsTest, MemoryCacheCertificateEr |
response.setURL(url); |
response.setSecurityInfo(securityInfo); |
response.setHasMajorCertificateErrors(true); |
- ResourcePtr<Resource> resource = new Resource(resourceRequest, Resource::Image); |
+ RefPtrWillBeRawPtr<Resource> resource = Resource::create(resourceRequest, Resource::Image); |
resource->setResponse(response); |
fetchContext->dispatchDidLoadResourceFromMemoryCache(resource.get(), WebURLRequest::FrameTypeNone, WebURLRequest::RequestContextImage); |
} |