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

Unified Diff: base/test/task_runner_test_template.cc

Issue 1800743003: base: Remove some unnecessary const scoped_refptr<>&. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 9 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: base/test/task_runner_test_template.cc
diff --git a/base/test/task_runner_test_template.cc b/base/test/task_runner_test_template.cc
index efc21936e10c2ef8c77cda2f8612869f47e81827..5983b8a0fd0b5d7439bc19386f80e3ee0fced475 100644
--- a/base/test/task_runner_test_template.cc
+++ b/base/test/task_runner_test_template.cc
@@ -37,9 +37,8 @@ void TaskTracker::WaitForCompletedTasks(int count) {
task_runs_cv_.Wait();
}
-void ExpectRunsTasksOnCurrentThread(
- bool expected_value,
- const scoped_refptr<TaskRunner>& task_runner) {
+void ExpectRunsTasksOnCurrentThread(bool expected_value,
+ TaskRunner* task_runner) {
EXPECT_EQ(expected_value, task_runner->RunsTasksOnCurrentThread());
}

Powered by Google App Engine
This is Rietveld 408576698