| 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 f0eb2637d421826c4cf2f63a8ef4305ede0fce65..9398575027fd5c2eac00e77259d4d73ac65f6264 100644
|
| --- a/third_party/WebKit/Source/modules/webdatabase/SQLStatement.cpp
|
| +++ b/third_party/WebKit/Source/modules/webdatabase/SQLStatement.cpp
|
| @@ -54,9 +54,10 @@ SQLStatement::SQLStatement(Database* database,
|
| : m_statementCallback(callback), m_statementErrorCallback(errorCallback) {
|
| DCHECK(isMainThread());
|
|
|
| - if (hasCallback() || hasErrorCallback())
|
| - InspectorInstrumentation::asyncTaskScheduled(
|
| - database->getExecutionContext(), "SQLStatement", this);
|
| + if (hasCallback() || hasErrorCallback()) {
|
| + probe::asyncTaskScheduled(database->getExecutionContext(), "SQLStatement",
|
| + this);
|
| + }
|
| }
|
|
|
| DEFINE_TRACE(SQLStatement) {
|
| @@ -87,8 +88,8 @@ bool SQLStatement::performCallback(SQLTransaction* transaction) {
|
| SQLStatementErrorCallback* errorCallback = m_statementErrorCallback.release();
|
| SQLErrorData* error = m_backend->sqlError();
|
|
|
| - InspectorInstrumentation::AsyncTask asyncTask(
|
| - transaction->database()->getExecutionContext(), this);
|
| + probe::AsyncTask asyncTask(transaction->database()->getExecutionContext(),
|
| + this);
|
|
|
| // Call the appropriate statement callback and track if it resulted in an
|
| // error, because then we need to jump to the transaction error callback.
|
|
|