| 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 2640d004bc9b13817e00eb0b64911d8f0e55ec43..f8d57f910d811b1fd93a04364341dcab6d857df7 100644
|
| --- a/third_party/WebKit/Source/modules/webdatabase/Database.cpp
|
| +++ b/third_party/WebKit/Source/modules/webdatabase/Database.cpp
|
| @@ -836,7 +836,7 @@ void Database::runTransaction(
|
| ASSERT(callback == originalErrorCallback);
|
| if (callback) {
|
| OwnPtr<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))));
|
| }
|
| }
|
| }
|
|
|