Index: third_party/WebKit/Source/modules/webdatabase/DatabaseManager.cpp |
diff --git a/third_party/WebKit/Source/modules/webdatabase/DatabaseManager.cpp b/third_party/WebKit/Source/modules/webdatabase/DatabaseManager.cpp |
index b488b96a0f973541ac8fe4b18c48702b38ef8df8..d019b7d066725de1b586ba11c0770ccf47d07d21 100644 |
--- a/third_party/WebKit/Source/modules/webdatabase/DatabaseManager.cpp |
+++ b/third_party/WebKit/Source/modules/webdatabase/DatabaseManager.cpp |
@@ -30,6 +30,7 @@ |
#include "core/dom/ExceptionCode.h" |
#include "core/dom/ExecutionContext.h" |
#include "core/dom/ExecutionContextTask.h" |
+#include "core/dom/TaskRunnerHelper.h" |
#include "core/inspector/ConsoleMessage.h" |
#include "modules/webdatabase/Database.h" |
#include "modules/webdatabase/DatabaseCallback.h" |
@@ -209,9 +210,10 @@ Database* DatabaseManager::openDatabase(ExecutionContext* context, |
STORAGE_DVLOG(1) << "Scheduling DatabaseCreationCallbackTask for database " |
<< database; |
database->getExecutionContext()->postTask( |
- BLINK_FROM_HERE, createSameThreadTask(&databaseCallbackHandleEvent, |
- wrapPersistent(creationCallback), |
- wrapPersistent(database)), |
+ TaskType::DatabaseAccess, BLINK_FROM_HERE, |
+ createSameThreadTask(&databaseCallbackHandleEvent, |
+ wrapPersistent(creationCallback), |
+ wrapPersistent(database)), |
"openDatabase"); |
} |