Title: [149733] trunk/Source/WebCore
- Revision
- 149733
- Author
- [email protected]
- Date
- 2013-05-08 06:00:59 -0700 (Wed, 08 May 2013)
Log Message
Crash when loading link to audio file
https://bugs.webkit.org/show_bug.cgi?id=115794
Reviewed by Jocelyn Turcotte.
Do not access a null pointer frame.
* loader/appcache/ApplicationCacheHost.cpp:
(WebCore::ApplicationCacheHost::isApplicationCacheEnabled):
Modified Paths
Diff
Modified: trunk/Source/WebCore/ChangeLog (149732 => 149733)
--- trunk/Source/WebCore/ChangeLog 2013-05-08 12:56:45 UTC (rev 149732)
+++ trunk/Source/WebCore/ChangeLog 2013-05-08 13:00:59 UTC (rev 149733)
@@ -1,3 +1,15 @@
+2013-05-08 Allan Sandfeld Jensen <[email protected]>
+
+ Crash when loading link to audio file
+ https://bugs.webkit.org/show_bug.cgi?id=115794
+
+ Reviewed by Jocelyn Turcotte.
+
+ Do not access a null pointer frame.
+
+ * loader/appcache/ApplicationCacheHost.cpp:
+ (WebCore::ApplicationCacheHost::isApplicationCacheEnabled):
+
2013-05-08 Christophe Dumez <[email protected]>
Remove unused [TransferList] extended attribute
Modified: trunk/Source/WebCore/loader/appcache/ApplicationCacheHost.cpp (149732 => 149733)
--- trunk/Source/WebCore/loader/appcache/ApplicationCacheHost.cpp 2013-05-08 12:56:45 UTC (rev 149732)
+++ trunk/Source/WebCore/loader/appcache/ApplicationCacheHost.cpp 2013-05-08 13:00:59 UTC (rev 149733)
@@ -471,7 +471,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]
https://lists.webkit.org/mailman/listinfo/webkit-changes