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

Unified Diff: Source/core/fetch/FetchContext.h

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: Check m_fetcher in DocumentLoader Created 5 years, 6 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/FetchContext.h
diff --git a/Source/core/fetch/FetchContext.h b/Source/core/fetch/FetchContext.h
index f912c2150aeab586e3ca81bb67def2a998cd1526..aa9ab8b6eb4df989cfd501decff8ff760653c934 100644
--- a/Source/core/fetch/FetchContext.h
+++ b/Source/core/fetch/FetchContext.h
@@ -54,10 +54,14 @@ enum FetchResourceType {
FetchSubresource
};
-class CORE_EXPORT FetchContext : public NoBaseWillBeGarbageCollectedFinalized<FetchContext> {
+class CORE_EXPORT FetchContext : public GarbageCollectedFinalized<FetchContext> {
WTF_MAKE_NONCOPYABLE(FetchContext);
public:
static FetchContext& nullInstance();
+ static FetchContext* create()
sof 2015/06/29 13:29:29 Should we try to get rid of this? It's not on trun
peria 2015/06/30 07:14:39 Done.
+ {
+ return new FetchContext;
+ }
virtual ~FetchContext() { }
DEFINE_INLINE_VIRTUAL_TRACE() { }

Powered by Google App Engine
This is Rietveld 408576698