Index: Source/core/loader/FrameFetchContextTest.cpp |
diff --git a/Source/core/loader/FrameFetchContextTest.cpp b/Source/core/loader/FrameFetchContextTest.cpp |
index d18df401db0925b019fbfc8cba363ac263c5025c..ca7d684bbd00ccac413e2cec50c767a77b305a16 100644 |
--- a/Source/core/loader/FrameFetchContextTest.cpp |
+++ b/Source/core/loader/FrameFetchContextTest.cpp |
@@ -108,7 +108,7 @@ protected: |
OwnPtr<DummyPageHolder> dummyPageHolder; |
// We don't use the DocumentLoader directly in any tests, but need to keep it around as long |
// as the ResourceFetcher and Document live due to indirect usage. |
- RefPtr<DocumentLoader> documentLoader; |
+ RefPtrWillBePersistent<DocumentLoader> documentLoader; |
RefPtrWillBePersistent<Document> document; |
FetchContext* fetchContext; |
}; |
@@ -249,7 +249,7 @@ protected: |
OwnPtr<DummyPageHolder> dummyPageHolder; |
// We don't use the DocumentLoader directly in any tests, but need to keep it around as long |
// as the ResourceFetcher and Document live due to indirect usage. |
- RefPtr<DocumentLoader> documentLoader; |
+ RefPtrWillBePersistent<DocumentLoader> documentLoader; |
RefPtrWillBePersistent<Document> document; |
FetchContext* fetchContext; |
}; |
@@ -309,4 +309,3 @@ TEST_F(FrameFetchContextHintsTest, MonitorAllHints) |
} |
} // namespace |
- |