| Index: third_party/WebKit/Source/modules/webdatabase/Database.cpp
|
| diff --git a/third_party/WebKit/Source/modules/webdatabase/Database.cpp b/third_party/WebKit/Source/modules/webdatabase/Database.cpp
|
| index 101fb0a7b21af45f5f68549c1e759ef4c55e4669..4e77fac42c10cdc561e72961a39b7507e10e77cc 100644
|
| --- a/third_party/WebKit/Source/modules/webdatabase/Database.cpp
|
| +++ b/third_party/WebKit/Source/modules/webdatabase/Database.cpp
|
| @@ -837,7 +837,7 @@ void Database::runTransaction(
|
| ASSERT(callback == originalErrorCallback);
|
| if (callback) {
|
| std::unique_ptr<SQLErrorData> error = SQLErrorData::create(SQLError::UNKNOWN_ERR, "database has been closed");
|
| - getExecutionContext()->postTask(BLINK_FROM_HERE, createSameThreadTask(&callTransactionErrorCallback, callback, passed(std::move(error))));
|
| + getExecutionContext()->postTask(BLINK_FROM_HERE, createSameThreadTask(&callTransactionErrorCallback, wrapCrossThreadPersistent(callback), passed(std::move(error))));
|
| }
|
| }
|
| }
|
|
|