Index: Source/WebCore/Modules/webdatabase/AbstractDatabase.cpp |
=================================================================== |
--- Source/WebCore/Modules/webdatabase/AbstractDatabase.cpp (revision 141154) |
+++ Source/WebCore/Modules/webdatabase/AbstractDatabase.cpp (working copy) |
@@ -200,7 +200,7 @@ |
, m_isSyncDatabase(databaseType == SyncDatabase) |
{ |
ASSERT(context->isContextThread()); |
- m_contextThreadSecurityOrigin = m_scriptExecutionContext->securityOrigin(); |
+ m_contextThreadSecurityOrigin = m_scriptExecutionContext->securityOrigin()->isolatedCopy(); |
m_databaseAuthorizer = DatabaseAuthorizer::create(infoTableName); |