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

Unified Diff: storage/common/database/database_connections.cc

Issue 1120553002: [storage] Replace MessageLoopProxy usage with ThreadTaskRunnerHandle (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fixed Review Nits Created 5 years, 8 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 | « storage/common/database/database_connections.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: storage/common/database/database_connections.cc
diff --git a/storage/common/database/database_connections.cc b/storage/common/database/database_connections.cc
index adfcde1ab0859e4698c9c0c742f7a0dd3016eb44..b0b55de57eb7c973570746b58c564fe13201f6b7 100644
--- a/storage/common/database/database_connections.cc
+++ b/storage/common/database/database_connections.cc
@@ -8,7 +8,7 @@
#include "base/bind.h"
#include "base/logging.h"
#include "base/message_loop/message_loop.h"
-#include "base/message_loop/message_loop_proxy.h"
+#include "base/thread_task_runner_handle.h"
namespace storage {
@@ -123,7 +123,7 @@ bool DatabaseConnections::RemoveConnectionsHelper(
DatabaseConnectionsWrapper::DatabaseConnectionsWrapper()
: waiting_for_dbs_to_close_(false),
- main_thread_(base::MessageLoopProxy::current()) {
+ main_thread_(base::ThreadTaskRunnerHandle::Get()) {
}
DatabaseConnectionsWrapper::~DatabaseConnectionsWrapper() {
« no previous file with comments | « storage/common/database/database_connections.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698