Index: Source/web/WebLocalFrameImpl.cpp |
diff --git a/Source/web/WebLocalFrameImpl.cpp b/Source/web/WebLocalFrameImpl.cpp |
index 4f47322c150fdb7229d1dfcadfe77bb6f2ba19b1..9d68a700908ad29f02af9e979ea05eeae6d5d56d 100644 |
--- a/Source/web/WebLocalFrameImpl.cpp |
+++ b/Source/web/WebLocalFrameImpl.cpp |
@@ -1525,16 +1525,16 @@ WebLocalFrameImpl::~WebLocalFrameImpl() |
cancelPendingScopingEffort(); |
} |
+#if ENABLE(OILPAN) |
void WebLocalFrameImpl::trace(Visitor* visitor) |
{ |
-#if ENABLE(OILPAN) |
visitor->trace(m_frame); |
visitor->trace(m_printContext); |
visitor->trace(m_geolocationClientProxy); |
- |
- WebFrame::traceChildren(visitor, this); |
-#endif |
+ visitor->registerWeakMembers<WebFrame, &WebFrame::clearWeakFrames>(this); |
+ WebFrame::traceFrames(visitor, this); |
} |
+#endif |
void WebLocalFrameImpl::setCoreFrame(PassRefPtrWillBeRawPtr<LocalFrame> frame) |
{ |