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

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

Issue 517043003: Move Frame to the Oilpan heap. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Back out non-Oilpan experiment + tidy up by adding frame() ref accessors Created 6 years, 3 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 99550d4b97cd23a9f1eea52c3fedea6e32aa8789..32405eb30c701a1e058e581e2d29d174312520b4 100644
--- a/Source/core/fetch/FetchContext.h
+++ b/Source/core/fetch/FetchContext.h
@@ -34,6 +34,7 @@
#include "core/fetch/CachePolicy.h"
#include "core/fetch/FetchInitiatorInfo.h"
#include "core/fetch/Resource.h"
+#include "platform/heap/Handle.h"
#include "platform/network/ResourceLoadPriority.h"
#include "wtf/Noncopyable.h"
@@ -54,13 +55,14 @@ enum FetchResourceType {
FetchSubresource
};
-class FetchContext {
+class FetchContext : public NoBaseWillBeGarbageCollectedFinalized<FetchContext> {
WTF_MAKE_NONCOPYABLE(FetchContext);
public:
static FetchContext& nullInstance();
FetchContext() { }
virtual ~FetchContext() { }
+ virtual void trace(Visitor*) { }
virtual void reportLocalLoadFailed(const KURL&);
virtual void addAdditionalRequestHeaders(Document*, ResourceRequest&, FetchResourceType);

Powered by Google App Engine
This is Rietveld 408576698