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

Unified Diff: third_party/WebKit/Source/modules/webdatabase/DatabaseThread.h

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/DatabaseThread.h
diff --git a/third_party/WebKit/Source/modules/webdatabase/DatabaseThread.h b/third_party/WebKit/Source/modules/webdatabase/DatabaseThread.h
index 26355298396228021d4869de283107c749eac280..258a526cad827f2b5348a6bfab2352d228a5d3ad 100644
--- a/third_party/WebKit/Source/modules/webdatabase/DatabaseThread.h
+++ b/third_party/WebKit/Source/modules/webdatabase/DatabaseThread.h
@@ -61,9 +61,10 @@ public:
void recordDatabaseOpen(Database*);
void recordDatabaseClosed(Database*);
bool isDatabaseOpen(Database*);
+ bool isDatabaseOpen(CrossThreadPersistent<Database>);
SQLTransactionClient* transactionClient() { return m_transactionClient.get(); }
- SQLTransactionCoordinator* transactionCoordinator() { return m_transactionCoordinator.get(); }
+ CrossThreadPersistent<SQLTransactionCoordinator>& transactionCoordinator() { return m_transactionCoordinator; }
private:
DatabaseThread();

Powered by Google App Engine
This is Rietveld 408576698