diff options
Diffstat (limited to 'WebCore/storage/StorageEventDispatcher.cpp')
-rw-r--r-- | WebCore/storage/StorageEventDispatcher.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/WebCore/storage/StorageEventDispatcher.cpp b/WebCore/storage/StorageEventDispatcher.cpp index dc0295b..aa91924 100644 --- a/WebCore/storage/StorageEventDispatcher.cpp +++ b/WebCore/storage/StorageEventDispatcher.cpp @@ -40,6 +40,10 @@ namespace WebCore { void StorageEventDispatcher::dispatch(const String& key, const String& oldValue, const String& newValue, StorageType storageType, SecurityOrigin* securityOrigin, Frame* sourceFrame) { +#ifdef ANDROID + if (!sourceFrame) + return; +#endif Page* page = sourceFrame->page(); if (!page) return; |