return;
}
- RefPtr<LocalFrame> protect(m_frame);
+ RefPtrWillBeRawPtr<LocalFrame> protect(m_frame.get());
OwnPtr<ScheduledNavigation> redirect(m_redirect.release());
redirect->fire(m_frame);
// and/or confuse the JS when it shortly thereafter tries to schedule a location change. Let the JS have its way.
// FIXME: This check seems out of place.
if (!m_frame->loader().stateMachine()->committedFirstRealDocumentLoad() && m_frame->loader().provisionalDocumentLoader()) {
- RefPtr<Frame> protect(m_frame);
+ RefPtrWillBeRawPtr<LocalFrame> protect(m_frame.get());
m_frame->loader().provisionalDocumentLoader()->stopLoading();
if (!m_frame->host())
return;
m_redirect.clear();
}
+void NavigationScheduler::trace(Visitor* visitor)
+{
+ visitor->trace(m_frame);
+}
+
} // namespace blink