summaryrefslogtreecommitdiffstats
path: root/base/test
diff options
context:
space:
mode:
authorengedy <engedy@chromium.org>2015-02-16 07:41:52 -0800
committerCommit bot <commit-bot@chromium.org>2015-02-16 15:42:32 +0000
commit6be6db6fd8340f813db09bd6428eac8178001728 (patch)
tree86f512c82bf6fbe2433bc6f35e9a3567fd4c9fc3 /base/test
parent8f61eb52d2ce9f48b815d1dae8f4513666d58dac (diff)
downloadchromium_src-6be6db6fd8340f813db09bd6428eac8178001728.zip
chromium_src-6be6db6fd8340f813db09bd6428eac8178001728.tar.gz
chromium_src-6be6db6fd8340f813db09bd6428eac8178001728.tar.bz2
Fix typo and remove extra line break from TestMockTimeTaskRunner.
BUG=329911 TBR=phajdan.jr@chromium.org Review URL: https://codereview.chromium.org/929923003 Cr-Commit-Position: refs/heads/master@{#316483}
Diffstat (limited to 'base/test')
-rw-r--r--base/test/test_mock_time_task_runner.cc3
-rw-r--r--base/test/test_mock_time_task_runner.h2
2 files changed, 2 insertions, 3 deletions
diff --git a/base/test/test_mock_time_task_runner.cc b/base/test/test_mock_time_task_runner.cc
index daba3bc..a878280 100644
--- a/base/test/test_mock_time_task_runner.cc
+++ b/base/test/test_mock_time_task_runner.cc
@@ -75,8 +75,7 @@ bool TestMockTimeTaskRunner::TemporalOrder::operator()(
return first_task.GetTimeToRun() > second_task.GetTimeToRun();
}
-TestMockTimeTaskRunner::TestMockTimeTaskRunner()
- : now_(Time::UnixEpoch()) {
+TestMockTimeTaskRunner::TestMockTimeTaskRunner() : now_(Time::UnixEpoch()) {
}
TestMockTimeTaskRunner::~TestMockTimeTaskRunner() {
diff --git a/base/test/test_mock_time_task_runner.h b/base/test/test_mock_time_task_runner.h
index dbd80ae..1a651f6 100644
--- a/base/test/test_mock_time_task_runner.h
+++ b/base/test/test_mock_time_task_runner.h
@@ -33,7 +33,7 @@ class TickClock;
// turn call back into it (e.g., to post more tasks).
// - Tasks are stored in a priority queue, and executed in the increasing
// order of post time + delay.
-// - It does not check for overflow when doing time arithmetic``. A sufficient
+// - It does not check for overflow when doing time arithmetic. A sufficient
// condition for preventing overflows is to make sure that the sum of all
// posted task delays and fast-forward increments is still representable by
// a TimeDelta, and that adding this delta to the starting values of Time