Reviewed by Darin.
Fix for <rdar://problem/5274937> Safari 3 breaks Missing Sync's WebKit code by crashing
* loader/MainResourceLoader.cpp: (WebCore::MainResourceLoader::continueAfterContentPolicy): Nil check for the FrameLoader.
git-svn-id: http://svn.webkit.org/repository/webkit/trunk@24786 268f45cc-cd09-0410-ab3c-d52691b4dbfc
diff --git a/WebCore/ChangeLog b/WebCore/ChangeLog
index f58c5c7..37f7086 100644
--- a/WebCore/ChangeLog
+++ b/WebCore/ChangeLog
@@ -1,3 +1,11 @@
+2007-07-30 Adele Peterson <adele@apple.com>
+
+ Reviewed by Darin.
+
+ Fix for <rdar://problem/5274937> Safari 3 breaks Missing Sync's WebKit code by crashing
+
+ * loader/MainResourceLoader.cpp: (WebCore::MainResourceLoader::continueAfterContentPolicy): Nil check for the FrameLoader.
+
2007-07-30 Anders Carlsson <andersca@apple.com>
Reviewed by Darin.
diff --git a/WebCore/loader/MainResourceLoader.cpp b/WebCore/loader/MainResourceLoader.cpp
index 9309b78..5b95419 100644
--- a/WebCore/loader/MainResourceLoader.cpp
+++ b/WebCore/loader/MainResourceLoader.cpp
@@ -248,7 +248,7 @@
{
ASSERT(m_waitingForContentPolicy);
m_waitingForContentPolicy = false;
- if (!frameLoader()->isStopping())
+ if (frameLoader() && !frameLoader()->isStopping())
continueAfterContentPolicy(policy, m_response);
deref(); // balances ref in didReceiveResponse
}