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

Unified Diff: webkit/database/database_connections.cc

Issue 7583053: Add MessageLoopProxy::current (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: No need for MessageLoopProxy destruction observer. Created 9 years, 4 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
« no previous file with comments | « webkit/blob/deletable_file_reference_unittest.cc ('k') | webkit/database/database_quota_client_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webkit/database/database_connections.cc
diff --git a/webkit/database/database_connections.cc b/webkit/database/database_connections.cc
index d90498fda1f9908b57e38c3bf8254d4fe2387401..a5d762d623a58c8ca5b4040b1495681ae84f0435 100644
--- a/webkit/database/database_connections.cc
+++ b/webkit/database/database_connections.cc
@@ -120,7 +120,7 @@ bool DatabaseConnections::RemoveConnectionsHelper(
DatabaseConnectionsWrapper::DatabaseConnectionsWrapper()
: waiting_for_dbs_to_close_(false),
- main_thread_(base::MessageLoopProxy::CreateForCurrentThread()) {
+ main_thread_(base::MessageLoopProxy::current()) {
}
DatabaseConnectionsWrapper::~DatabaseConnectionsWrapper() {
« no previous file with comments | « webkit/blob/deletable_file_reference_unittest.cc ('k') | webkit/database/database_quota_client_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698