| Index: third_party/WebKit/Source/modules/webdatabase/SQLTransaction.cpp
|
| diff --git a/third_party/WebKit/Source/modules/webdatabase/SQLTransaction.cpp b/third_party/WebKit/Source/modules/webdatabase/SQLTransaction.cpp
|
| index 33727537b02cccbad94ad5aefefd9d70bae374f0..6efdaece8ed7d58c43e909131cf3d417c2e916c4 100644
|
| --- a/third_party/WebKit/Source/modules/webdatabase/SQLTransaction.cpp
|
| +++ b/third_party/WebKit/Source/modules/webdatabase/SQLTransaction.cpp
|
| @@ -72,8 +72,8 @@ SQLTransaction::SQLTransaction(Database* db,
|
| m_readOnly(readOnly) {
|
| DCHECK(isMainThread());
|
| ASSERT(m_database);
|
| - InspectorInstrumentation::asyncTaskScheduled(db->getExecutionContext(),
|
| - "SQLTransaction", this, true);
|
| + probe::asyncTaskScheduled(db->getExecutionContext(), "SQLTransaction", this,
|
| + true);
|
| }
|
|
|
| SQLTransaction::~SQLTransaction() {}
|
| @@ -153,8 +153,7 @@ SQLTransactionState SQLTransaction::nextStateForTransactionError() {
|
|
|
| SQLTransactionState SQLTransaction::deliverTransactionCallback() {
|
| bool shouldDeliverErrorCallback = false;
|
| - InspectorInstrumentation::AsyncTask asyncTask(
|
| - m_database->getExecutionContext(), this);
|
| + probe::AsyncTask asyncTask(m_database->getExecutionContext(), this);
|
|
|
| // Spec 4.3.2 4: Invoke the transaction callback with the new SQLTransaction
|
| // object.
|
| @@ -179,10 +178,8 @@ SQLTransactionState SQLTransaction::deliverTransactionCallback() {
|
| }
|
|
|
| SQLTransactionState SQLTransaction::deliverTransactionErrorCallback() {
|
| - InspectorInstrumentation::AsyncTask asyncTask(
|
| - m_database->getExecutionContext(), this);
|
| - InspectorInstrumentation::asyncTaskCanceled(m_database->getExecutionContext(),
|
| - this);
|
| + probe::AsyncTask asyncTask(m_database->getExecutionContext(), this);
|
| + probe::asyncTaskCanceled(m_database->getExecutionContext(), this);
|
|
|
| // Spec 4.3.2.10: If exists, invoke error callback with the last
|
| // error to have occurred in this transaction.
|
| @@ -245,10 +242,8 @@ SQLTransactionState SQLTransaction::deliverQuotaIncreaseCallback() {
|
|
|
| SQLTransactionState SQLTransaction::deliverSuccessCallback() {
|
| DCHECK(isMainThread());
|
| - InspectorInstrumentation::AsyncTask asyncTask(
|
| - m_database->getExecutionContext(), this);
|
| - InspectorInstrumentation::asyncTaskCanceled(m_database->getExecutionContext(),
|
| - this);
|
| + probe::AsyncTask asyncTask(m_database->getExecutionContext(), this);
|
| + probe::asyncTaskCanceled(m_database->getExecutionContext(), this);
|
|
|
| // Spec 4.3.2.8: Deliver success callback.
|
| if (VoidCallback* successCallback = m_successCallback.release())
|
|
|