| Index: third_party/WebKit/Source/modules/webdatabase/SQLStatement.cpp
|
| diff --git a/third_party/WebKit/Source/modules/webdatabase/SQLStatement.cpp b/third_party/WebKit/Source/modules/webdatabase/SQLStatement.cpp
|
| index 89b8347fb7d34dfc265cf5f3ca1a14f448b55732..d175ec6ceab4f92afab75871165652db95669f9b 100644
|
| --- a/third_party/WebKit/Source/modules/webdatabase/SQLStatement.cpp
|
| +++ b/third_party/WebKit/Source/modules/webdatabase/SQLStatement.cpp
|
| @@ -55,6 +55,7 @@ SQLStatement::SQLStatement(Database* database, SQLStatementCallback* callback,
|
| , m_statementErrorCallback(errorCallback)
|
| , m_asyncOperationId(0)
|
| {
|
| + ASSERT(isMainThread());
|
| if (hasCallback() || hasErrorCallback())
|
| m_asyncOperationId = InspectorInstrumentation::traceAsyncOperationStarting(database->executionContext(), "SQLStatement");
|
| }
|
|
|