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

Unified Diff: content/child/indexed_db/webidbcursor_impl_unittest.cc

Issue 1142063003: content/child: Remove use of MessageLoopProxy and deprecated MessageLoop APIs (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Build fix. Created 5 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
« no previous file with comments | « content/child/indexed_db/indexed_db_message_filter.h ('k') | content/child/npapi/np_channel_base.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/child/indexed_db/webidbcursor_impl_unittest.cc
diff --git a/content/child/indexed_db/webidbcursor_impl_unittest.cc b/content/child/indexed_db/webidbcursor_impl_unittest.cc
index dfc277e95e8b3216d6a2645a795b08bf97f11476..a21babd8b8c20e063eaa3819dfd319bf0bff25d8 100644
--- a/content/child/indexed_db/webidbcursor_impl_unittest.cc
+++ b/content/child/indexed_db/webidbcursor_impl_unittest.cc
@@ -3,6 +3,7 @@
// found in the LICENSE file.
#include "base/memory/scoped_ptr.h"
+#include "base/thread_task_runner_handle.h"
#include "base/values.h"
#include "content/child/indexed_db/indexed_db_dispatcher.h"
#include "content/child/indexed_db/indexed_db_key_builders.h"
@@ -122,7 +123,7 @@ class WebIDBCursorImplTest : public testing::Test {
null_key_.assignNull();
sync_message_filter_ = new IPC::SyncMessageFilter(NULL);
thread_safe_sender_ = new ThreadSafeSender(
- base::MessageLoopProxy::current(), sync_message_filter_.get());
+ base::ThreadTaskRunnerHandle::Get(), sync_message_filter_.get());
dispatcher_ =
make_scoped_ptr(new MockDispatcher(thread_safe_sender_.get()));
}
« no previous file with comments | « content/child/indexed_db/indexed_db_message_filter.h ('k') | content/child/npapi/np_channel_base.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698