summaryrefslogtreecommitdiffstats
path: root/WebCore/storage/DatabaseSync.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'WebCore/storage/DatabaseSync.cpp')
-rw-r--r--WebCore/storage/DatabaseSync.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/WebCore/storage/DatabaseSync.cpp b/WebCore/storage/DatabaseSync.cpp
index 817fdcc..9c654a1 100644
--- a/WebCore/storage/DatabaseSync.cpp
+++ b/WebCore/storage/DatabaseSync.cpp
@@ -161,7 +161,7 @@ class CloseSyncDatabaseOnContextThreadTask : public ScriptExecutionContext::Task
public:
static PassOwnPtr<CloseSyncDatabaseOnContextThreadTask> create(PassRefPtr<DatabaseSync> database)
{
- return new CloseSyncDatabaseOnContextThreadTask(database);
+ return adoptPtr(new CloseSyncDatabaseOnContextThreadTask(database));
}
virtual void performTask(ScriptExecutionContext*)