summaryrefslogtreecommitdiffstats
path: root/WebCore/loader/icon/IconFetcher.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'WebCore/loader/icon/IconFetcher.cpp')
-rw-r--r--WebCore/loader/icon/IconFetcher.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/WebCore/loader/icon/IconFetcher.cpp b/WebCore/loader/icon/IconFetcher.cpp
index 69eeb7c..d1aa2f3 100644
--- a/WebCore/loader/icon/IconFetcher.cpp
+++ b/WebCore/loader/icon/IconFetcher.cpp
@@ -101,8 +101,6 @@ static void parseIconLink(HTMLLinkElement* link, Vector<IconLinkEntry>& entries)
PassRefPtr<IconFetcher> IconFetcher::create(Frame* frame, IconFetcherClient* client)
{
Document* document = frame->document();
- if (!document)
- return 0;
HTMLHeadElement* head = document->head();
if (!head)