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

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: Improve weak callback registration Created 6 years, 2 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/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 285434df91db20877b5226d85b557c0f05a8b7b5..63215a4738730dd9d245d3131f0174c59af2e5ea 100644
--- a/public/web/WebFrame.h
+++ b/public/web/WebFrame.h
@@ -657,16 +657,26 @@ public:
#if BLINK_IMPLEMENTATION
static WebFrame* fromFrame(Frame*);
- static void traceChildren(Visitor*, WebFrame*);
+#if ENABLE(OILPAN)
+ static void traceFrames(Visitor*, WebFrame*);
+ void clearWeakFrames(Visitor*);
+#endif
#endif
protected:
- explicit WebFrame();
+ WebFrame();
virtual ~WebFrame();
private:
friend class OpenedFrameTracker;
+#if BLINK_IMPLEMENTATION
+#if ENABLE(OILPAN)
+ static void traceFrame(Visitor*, WebFrame*);
+ static bool isAlive(Visitor*, WebFrame*);
+#endif
+#endif
+
WebFrame* m_parent;
WebFrame* m_previousSibling;
WebFrame* m_nextSibling;
« no previous file with comments | « Source/web/WebRemoteFrameImpl.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698