summaryrefslogtreecommitdiffstats
path: root/WebCore/storage/IDBDatabaseRequest.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'WebCore/storage/IDBDatabaseRequest.cpp')
-rw-r--r--WebCore/storage/IDBDatabaseRequest.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/WebCore/storage/IDBDatabaseRequest.cpp b/WebCore/storage/IDBDatabaseRequest.cpp
index c620279..3168d06 100644
--- a/WebCore/storage/IDBDatabaseRequest.cpp
+++ b/WebCore/storage/IDBDatabaseRequest.cpp
@@ -40,6 +40,8 @@ IDBDatabaseRequest::IDBDatabaseRequest(PassRefPtr<IDBDatabase> database)
: m_database(database)
{
m_this = IDBAny::create();
+ // We pass a reference to this object before it can be adopted.
+ relaxAdoptionRequirement();
m_this->set(this);
}