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

Unified Diff: public/web/WebFrame.h

Issue 594483002: Oilpan: extend tracing over WebFrame trees. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Add not-reached assert 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
« Source/web/WebRemoteFrameImpl.cpp ('K') | « Source/web/WebRemoteFrameImpl.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: public/web/WebFrame.h
diff --git a/public/web/WebFrame.h b/public/web/WebFrame.h
index 950dad8e023f6ad2e25a0f222b95800744b5e085..8debe9a1e45cd668e63c601de24d7fedab18368e 100644
--- a/public/web/WebFrame.h
+++ b/public/web/WebFrame.h
@@ -681,16 +681,22 @@ public:
#if BLINK_IMPLEMENTATION
static WebFrame* fromFrame(Frame*);
- static void traceChildren(Visitor*, WebFrame*);
+ static void traceFrames(Visitor*, WebFrame*);
+ static void clearWeakFrames(Visitor*, WebFrame*);
#endif
protected:
- explicit WebFrame();
+ WebFrame();
virtual ~WebFrame();
private:
friend class OpenedFrameTracker;
+#if BLINK_IMPLEMENTATION
+ static void traceFrame(Visitor*, WebFrame*);
+ static bool isAlive(Visitor*, WebFrame*);
+#endif
+
WebFrame* m_parent;
WebFrame* m_previousSibling;
WebFrame* m_nextSibling;
« Source/web/WebRemoteFrameImpl.cpp ('K') | « Source/web/WebRemoteFrameImpl.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698