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

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

Issue 841663002: Oilpan: clarify why FrameOwner is a GC mixin. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 5 years, 11 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 | « no previous file | no next file » | 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 f87a53dc25d0b7f6aa6a6936f85dcc94c848e7bf..64331472a7ab960ca27605a878564c3b14b9d763 100644
--- a/Source/core/frame/FrameOwner.h
+++ b/Source/core/frame/FrameOwner.h
@@ -10,6 +10,9 @@
namespace blink {
+// Oilpan: all FrameOwner instances are GCed objects. FrameOwner additionally
+// derives from GarbageCollectedMixin so that Member<FrameOwner> references can
+// be kept (e.g., Frame::m_owner.)
class FrameOwner : public WillBeGarbageCollectedMixin {
public:
virtual ~FrameOwner() { }
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698