| Index: Source/modules/webdatabase/Database.cpp
|
| diff --git a/Source/modules/webdatabase/Database.cpp b/Source/modules/webdatabase/Database.cpp
|
| index b6676d6bc5da5d5f0adf3bbdd6cb9c026fa85f42..e0a9edc1e82ee5354b652c52f50f4ee9574eb101 100644
|
| --- a/Source/modules/webdatabase/Database.cpp
|
| +++ b/Source/modules/webdatabase/Database.cpp
|
| @@ -102,7 +102,7 @@ private:
|
| : m_context(context)
|
| {
|
| }
|
| -
|
| +
|
| RefPtr<ScriptExecutionContext> m_context;
|
| };
|
|
|
| @@ -113,7 +113,7 @@ Database::~Database()
|
| // Grab a pointer to the script execution here because we're releasing it when we pass it to
|
| // DerefContextTask::create.
|
| ScriptExecutionContext* scriptExecutionContext = m_scriptExecutionContext.get();
|
| -
|
| +
|
| scriptExecutionContext->postTask(DerefContextTask::create(m_scriptExecutionContext.release()));
|
| }
|
| }
|
|
|