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

Unified Diff: Source/core/frame/FrameOwner.h

Issue 517043003: Move Frame to the Oilpan heap. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Experiment: also clear FrameView and FrameLoader during owner disconnect for non-Oilpan 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
« no previous file with comments | « Source/core/frame/FrameDestructionObserver.cpp ('k') | Source/core/frame/FrameView.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/frame/FrameOwner.h
diff --git a/Source/core/frame/FrameOwner.h b/Source/core/frame/FrameOwner.h
index 1f19f7d515746772c07f8d1af80468ee1aaa019c..f87a53dc25d0b7f6aa6a6936f85dcc94c848e7bf 100644
--- a/Source/core/frame/FrameOwner.h
+++ b/Source/core/frame/FrameOwner.h
@@ -6,12 +6,14 @@
#define FrameOwner_h
#include "core/dom/SandboxFlags.h"
+#include "platform/heap/Handle.h"
namespace blink {
-class FrameOwner {
+class FrameOwner : public WillBeGarbageCollectedMixin {
public:
virtual ~FrameOwner() { }
+ virtual void trace(Visitor*) { }
virtual bool isLocal() const = 0;
« no previous file with comments | « Source/core/frame/FrameDestructionObserver.cpp ('k') | Source/core/frame/FrameView.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698