summaryrefslogtreecommitdiffstats
path: root/WebCore/storage/IndexedDatabaseRequest.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'WebCore/storage/IndexedDatabaseRequest.cpp')
-rw-r--r--WebCore/storage/IndexedDatabaseRequest.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/WebCore/storage/IndexedDatabaseRequest.cpp b/WebCore/storage/IndexedDatabaseRequest.cpp
index 2210a8d..b549bd6 100644
--- a/WebCore/storage/IndexedDatabaseRequest.cpp
+++ b/WebCore/storage/IndexedDatabaseRequest.cpp
@@ -29,6 +29,7 @@
#include "config.h"
#include "IndexedDatabaseRequest.h"
+#include "Document.h"
#include "ExceptionCode.h"
#include "Frame.h"
#include "IDBDatabase.h"
@@ -54,7 +55,7 @@ IndexedDatabaseRequest::~IndexedDatabaseRequest()
PassRefPtr<IDBRequest> IndexedDatabaseRequest::open(const String& name, const String& description, bool modifyDatabase, ExceptionCode& exception)
{
RefPtr<IDBRequest> request = IDBRequest::create(m_frame->document(), m_this);
- m_indexedDatabase->open(name, description, modifyDatabase, request, m_frame, exception);
+ m_indexedDatabase->open(name, description, modifyDatabase, request, m_frame->document()->securityOrigin(), m_frame, exception);
return request;
}