Index: Source/core/fetch/CachingCorrectnessTest.cpp |
diff --git a/Source/core/fetch/CachingCorrectnessTest.cpp b/Source/core/fetch/CachingCorrectnessTest.cpp |
index c65511652f470e691d5146ac329154abfd37ea6c..c772cf3d04a3a2838a51cf73b1840bd1f92bd071 100644 |
--- a/Source/core/fetch/CachingCorrectnessTest.cpp |
+++ b/Source/core/fetch/CachingCorrectnessTest.cpp |
@@ -59,9 +59,9 @@ const unsigned char kAConstUnsignedCharZero = 0; |
class MockFetchContext : public FetchContext { |
public: |
- static PassOwnPtrWillBeRawPtr<MockFetchContext> create() |
+ static MockFetchContext* create() |
{ |
- return adoptPtrWillBeNoop(new MockFetchContext); |
+ return new MockFetchContext; |
} |
~MockFetchContext() { } |
@@ -177,8 +177,8 @@ private: |
ProxyPlatform m_proxyPlatform; |
- OwnPtrWillBePersistent<MemoryCache> m_globalMemoryCache; |
- RefPtrWillBePersistent<ResourceFetcher> m_fetcher; |
+ Persistent<MemoryCache> m_globalMemoryCache; |
+ Persistent<ResourceFetcher> m_fetcher; |
}; |
TEST_F(CachingCorrectnessTest, FreshFromLastModified) |