summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Source/WebCore/loader/appcache/ApplicationCacheHost.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/WebCore/loader/appcache/ApplicationCacheHost.cpp b/Source/WebCore/loader/appcache/ApplicationCacheHost.cpp
index fe9f010a0..c4e743065 100644
--- a/Source/WebCore/loader/appcache/ApplicationCacheHost.cpp
+++ b/Source/WebCore/loader/appcache/ApplicationCacheHost.cpp
@@ -473,7 +473,7 @@ void ApplicationCacheHost::abort()
bool ApplicationCacheHost::isApplicationCacheEnabled()
{
- return m_documentLoader->frame()->settings()
+ return m_documentLoader->frame() && m_documentLoader->frame()->settings()
&& m_documentLoader->frame()->settings()->offlineWebApplicationCacheEnabled();
}