summaryrefslogtreecommitdiffstats
path: root/WebCore/storage/StorageAreaImpl.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'WebCore/storage/StorageAreaImpl.cpp')
-rw-r--r--WebCore/storage/StorageAreaImpl.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/WebCore/storage/StorageAreaImpl.cpp b/WebCore/storage/StorageAreaImpl.cpp
index aa04781..d5d75e7 100644
--- a/WebCore/storage/StorageAreaImpl.cpp
+++ b/WebCore/storage/StorageAreaImpl.cpp
@@ -93,6 +93,10 @@ StorageAreaImpl::StorageAreaImpl(StorageAreaImpl* area)
static bool privateBrowsingEnabled(Frame* frame)
{
+#if PLATFORM(ANDROID)
+ if (!frame)
+ return false;
+#endif
#if PLATFORM(CHROMIUM)
// The frame pointer can be NULL in Chromium since this call is made in a different
// process from where the Frame object exists. Luckily, private browseing is