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

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

Issue 928033002: Make FrameDestructionObserver::m_frame a private. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 10 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 | Source/core/frame/FrameDestructionObserver.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/frame/FrameDestructionObserver.h
diff --git a/Source/core/frame/FrameDestructionObserver.h b/Source/core/frame/FrameDestructionObserver.h
index 708dd4ef8b75d955b1782b8d443f658e1d2618de..175f273647b639671255e583f13190f86723d09d 100644
--- a/Source/core/frame/FrameDestructionObserver.h
+++ b/Source/core/frame/FrameDestructionObserver.h
@@ -34,8 +34,6 @@ class LocalFrame;
class FrameDestructionObserver : public WillBeGarbageCollectedMixin {
public:
- explicit FrameDestructionObserver(LocalFrame*);
-
virtual void frameDestroyed();
virtual void willDetachFrameHost();
@@ -44,15 +42,18 @@ public:
virtual void trace(Visitor*);
protected:
+ explicit FrameDestructionObserver(LocalFrame*);
+
#if !ENABLE(OILPAN)
virtual ~FrameDestructionObserver();
#endif
void observeFrame(LocalFrame*);
+private:
RawPtrWillBeMember<LocalFrame> m_frame;
};
-}
+} // namespace blink
-#endif
+#endif // FrameDestructionObserver_h
« no previous file with comments | « no previous file | Source/core/frame/FrameDestructionObserver.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698