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

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

Issue 2019963002: Remove get from CrossThreadPersistent to avoid accidental use Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 7 months 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
Index: third_party/WebKit/Source/modules/webdatabase/Database.cpp
diff --git a/third_party/WebKit/Source/modules/webdatabase/Database.cpp b/third_party/WebKit/Source/modules/webdatabase/Database.cpp
index afd6e55dd273158bd81b82b329a8c87e742c33f1..f2992a4fc033702507e28a03cb611dd6b0ae08b8 100644
--- a/third_party/WebKit/Source/modules/webdatabase/Database.cpp
+++ b/third_party/WebKit/Source/modules/webdatabase/Database.cpp
@@ -333,7 +333,7 @@ void Database::scheduleTransaction()
if (transaction && getDatabaseContext()->databaseThreadAvailable()) {
OwnPtr<DatabaseTransactionTask> task = DatabaseTransactionTask::create(transaction);
- WTF_LOG(StorageAPI, "Scheduling DatabaseTransactionTask %p for transaction %p\n", task.get(), task->transaction());
+ WTF_LOG(StorageAPI, "Scheduling DatabaseTransactionTask %p for transaction %p\n", task.get(), task->transaction().unsafeGet());
m_transactionInProgress = true;
getDatabaseContext()->databaseThread()->scheduleTask(std::move(task));
} else {

Powered by Google App Engine
This is Rietveld 408576698