summaryrefslogtreecommitdiffstats
path: root/Source/WebKit/qt/WebCoreSupport/NotificationPresenterClientQt.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Source/WebKit/qt/WebCoreSupport/NotificationPresenterClientQt.cpp')
-rw-r--r--Source/WebKit/qt/WebCoreSupport/NotificationPresenterClientQt.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/Source/WebKit/qt/WebCoreSupport/NotificationPresenterClientQt.cpp b/Source/WebKit/qt/WebCoreSupport/NotificationPresenterClientQt.cpp
index 994cd85..b2b8132 100644
--- a/Source/WebKit/qt/WebCoreSupport/NotificationPresenterClientQt.cpp
+++ b/Source/WebKit/qt/WebCoreSupport/NotificationPresenterClientQt.cpp
@@ -440,8 +440,6 @@ QWebPage* NotificationPresenterClientQt::toPage(ScriptExecutionContext* context)
return 0;
Document* document = static_cast<Document*>(context);
- if (!document)
- return 0;
Page* page = document->page();
if (!page || !page->mainFrame())