Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1093)

Unified Diff: third_party/WebKit/Source/modules/webdatabase/SQLTransactionClient.cpp

Issue 2584263002: Specify TaskType of posted Task explicitly in WebSQL (9) (Closed)
Patch Set: rebase Created 4 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « third_party/WebKit/Source/modules/webdatabase/DatabaseTracker.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/modules/webdatabase/SQLTransactionClient.cpp
diff --git a/third_party/WebKit/Source/modules/webdatabase/SQLTransactionClient.cpp b/third_party/WebKit/Source/modules/webdatabase/SQLTransactionClient.cpp
index 2c0f3a8438d4b25ba195fffe8b1d9736fd1c55f0..47dbb0eeb1627548a49ebcff65bb0c6b49033241 100644
--- a/third_party/WebKit/Source/modules/webdatabase/SQLTransactionClient.cpp
+++ b/third_party/WebKit/Source/modules/webdatabase/SQLTransactionClient.cpp
@@ -32,6 +32,7 @@
#include "core/dom/ExecutionContext.h"
#include "core/dom/ExecutionContextTask.h"
+#include "core/dom/TaskRunnerHelper.h"
#include "modules/webdatabase/Database.h"
#include "modules/webdatabase/DatabaseContext.h"
#include "platform/weborigin/SecurityOrigin.h"
@@ -66,7 +67,7 @@ void SQLTransactionClient::didCommitWriteTransaction(Database* database) {
database->getDatabaseContext()->getExecutionContext();
if (!executionContext->isContextThread()) {
executionContext->postTask(
- BLINK_FROM_HERE,
+ TaskType::DatabaseAccess, BLINK_FROM_HERE,
createCrossThreadTask(
&databaseModifiedCrossThread,
executionContext->getSecurityOrigin()->toRawString(),
« no previous file with comments | « third_party/WebKit/Source/modules/webdatabase/DatabaseTracker.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698