Chromium Code Reviews| 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() { } |