Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(85)

Unified Diff: Source/core/fetch/CachingCorrectnessTest.cpp

Issue 1124153003: [Oilpan] [Reland] Migrate classes under core/fetch to Oilpan heap (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Work for comment Created 5 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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)

Powered by Google App Engine
This is Rietveld 408576698