Title: [88568] trunk/Source/WebCore
- Revision
- 88568
- Author
- [email protected]
- Date
- 2011-06-10 14:34:20 -0700 (Fri, 10 Jun 2011)
Log Message
Common crash in ApplicationCacheHost::isApplicationCacheEnabled
<rdar://problem/9328684>
Reviewed by Beth Dakin.
* loader/appcache/ApplicationCacheHost.cpp:
(WebCore::ApplicationCacheHost::isApplicationCacheEnabled):
Speculative fix for a null frame on ApplicationCacheHost's DocumentLoader.
Modified Paths
Diff
Modified: trunk/Source/WebCore/ChangeLog (88567 => 88568)
--- trunk/Source/WebCore/ChangeLog 2011-06-10 21:25:17 UTC (rev 88567)
+++ trunk/Source/WebCore/ChangeLog 2011-06-10 21:34:20 UTC (rev 88568)
@@ -1,3 +1,14 @@
+2011-06-10 Sam Weinig <[email protected]>
+
+ Reviewed by Beth Dakin.
+
+ Common crash in ApplicationCacheHost::isApplicationCacheEnabled
+ <rdar://problem/9328684>
+
+ * loader/appcache/ApplicationCacheHost.cpp:
+ (WebCore::ApplicationCacheHost::isApplicationCacheEnabled):
+ Speculative fix for a null frame on ApplicationCacheHost's DocumentLoader.
+
2011-06-10 Adam Barth <[email protected]>
Reviewed by Eric Seidel.
Modified: trunk/Source/WebCore/loader/appcache/ApplicationCacheHost.cpp (88567 => 88568)
--- trunk/Source/WebCore/loader/appcache/ApplicationCacheHost.cpp 2011-06-10 21:25:17 UTC (rev 88567)
+++ trunk/Source/WebCore/loader/appcache/ApplicationCacheHost.cpp 2011-06-10 21:34:20 UTC (rev 88568)
@@ -459,7 +459,7 @@
bool ApplicationCacheHost::isApplicationCacheEnabled()
{
- return m_documentLoader->frame()->settings()
+ return m_documentLoader->frame() && m_documentLoader->frame()->settings()
&& m_documentLoader->frame()->settings()->offlineWebApplicationCacheEnabled();
}
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo.cgi/webkit-changes