diff options
Diffstat (limited to 'WebCore/storage/StorageAreaImpl.cpp')
-rw-r--r-- | WebCore/storage/StorageAreaImpl.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/WebCore/storage/StorageAreaImpl.cpp b/WebCore/storage/StorageAreaImpl.cpp index dc25e54..54df135 100644 --- a/WebCore/storage/StorageAreaImpl.cpp +++ b/WebCore/storage/StorageAreaImpl.cpp @@ -95,6 +95,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 |