Too tired too do it right :}
authorrwlbuis <rwlbuis@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 21 Sep 2006 21:18:32 +0000 (21:18 +0000)
committerrwlbuis <rwlbuis@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 21 Sep 2006 21:18:32 +0000 (21:18 +0000)
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@16508 268f45cc-cd09-0410-ab3c-d52691b4dbfc

WebCore/page/Frame.cpp

index f493441055c4941d3c1e5c00f0c6c308f2eb5c51..a34fc162c0474ffdb72cd49d655462be960a95aa 100644 (file)
@@ -767,7 +767,7 @@ void Frame::endIfNotLoading()
         
     
     if (IconDatabase* sharedIconDatabase = IconDatabase::sharedIconDatabase()) {
-        if (!sharedIconDatabase->enabled() || !sharedIconDatabase->enabled())
+        if (!sharedIconDatabase || !sharedIconDatabase->enabled())
             return;
         
         String url(iconURL().url());