| Index: Source/core/loader/FrameFetchContextTest.cpp
|
| diff --git a/Source/core/loader/FrameFetchContextTest.cpp b/Source/core/loader/FrameFetchContextTest.cpp
|
| index 9613a23ac79d43e8be5ef8b1db43a34b07a9aa62..8cd74b84b1a5c1eb5dee6268154f35047a1549bd 100644
|
| --- a/Source/core/loader/FrameFetchContextTest.cpp
|
| +++ b/Source/core/loader/FrameFetchContextTest.cpp
|
| @@ -116,7 +116,7 @@ protected:
|
| // as the ResourceFetcher and Document live due to indirect usage.
|
| RefPtrWillBePersistent<DocumentLoader> documentLoader;
|
| RefPtrWillBePersistent<Document> document;
|
| - FetchContext* fetchContext;
|
| + Persistent<FetchContext> fetchContext;
|
| };
|
|
|
| TEST_F(FrameFetchContextUpgradeTest, UpgradeInsecureResourceRequests)
|
| @@ -232,7 +232,7 @@ protected:
|
| dummyPageHolder->page().setDeviceScaleFactor(1.0);
|
| documentLoader = DocumentLoader::create(&dummyPageHolder->frame(), ResourceRequest("http://www.example.com"), SubstituteData());
|
| document = toHTMLDocument(&dummyPageHolder->document());
|
| - fetchContext = &documentLoader->fetcher()->context();
|
| + fetchContext = static_cast<FrameFetchContext*>(&documentLoader->fetcher()->context());
|
| FrameFetchContext::provideDocumentToContext(*fetchContext, document.get());
|
| }
|
|
|
| @@ -263,7 +263,7 @@ protected:
|
| // as the ResourceFetcher and Document live due to indirect usage.
|
| RefPtrWillBePersistent<DocumentLoader> documentLoader;
|
| RefPtrWillBePersistent<Document> document;
|
| - FetchContext* fetchContext;
|
| + Persistent<FrameFetchContext> fetchContext;
|
| };
|
|
|
| TEST_F(FrameFetchContextHintsTest, MonitorDPRHints)
|
|
|