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

Unified Diff: mojo/edk/system/message_pipe_test_utils.cc

Issue 1408133004: EDK: Remove tracked_objects::Location argument in TestIOThread methods (etc.). (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Created 5 years, 2 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 | « mojo/edk/system/ipc_support_unittest.cc ('k') | mojo/edk/system/raw_channel_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/edk/system/message_pipe_test_utils.cc
diff --git a/mojo/edk/system/message_pipe_test_utils.cc b/mojo/edk/system/message_pipe_test_utils.cc
index f0d949521cb866a714218aca682aab3e3704a025..18bdf5dbec98d550324b26e08ccd6dcf7cecb569 100644
--- a/mojo/edk/system/message_pipe_test_utils.cc
+++ b/mojo/edk/system/message_pipe_test_utils.cc
@@ -47,7 +47,6 @@ void ChannelThread::Start(embedder::ScopedPlatformHandle platform_handle,
RefPtr<ChannelEndpoint>&& channel_endpoint) {
test_io_thread_.Start();
test_io_thread_.PostTaskAndWait(
- FROM_HERE,
base::Bind(&ChannelThread::InitChannelOnIOThread, base::Unretained(this),
base::Passed(&platform_handle),
base::Passed(&channel_endpoint)));
@@ -61,9 +60,8 @@ void ChannelThread::Stop() {
while (!channel_->IsWriteBufferEmpty())
test::Sleep(test::DeadlineFromMilliseconds(20));
- test_io_thread_.PostTaskAndWait(
- FROM_HERE, base::Bind(&ChannelThread::ShutdownChannelOnIOThread,
- base::Unretained(this)));
+ test_io_thread_.PostTaskAndWait(base::Bind(
+ &ChannelThread::ShutdownChannelOnIOThread, base::Unretained(this)));
}
test_io_thread_.Stop();
}
« no previous file with comments | « mojo/edk/system/ipc_support_unittest.cc ('k') | mojo/edk/system/raw_channel_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698