Index: Source/WebCore/loader/FrameLoader.cpp |
=================================================================== |
--- Source/WebCore/loader/FrameLoader.cpp (revision 143521) |
+++ Source/WebCore/loader/FrameLoader.cpp (working copy) |
@@ -742,6 +742,7 @@ |
void FrameLoader::checkCompleted() |
{ |
+ RefPtr<Frame> protect(m_frame); |
m_shouldCallCheckCompleted = false; |
if (m_frame->view()) |
@@ -772,7 +773,6 @@ |
m_requestedHistoryItem = 0; |
m_frame->document()->setReadyState(Document::Complete); |
- RefPtr<Frame> protect(m_frame); |
checkCallImplicitClose(); // if we didn't do it before |
m_frame->navigationScheduler()->startTimer(); |