Chromium Code Reviews

Unified Diff: chrome/browser/chromeos/system/automatic_reboot_manager_unittest.cc

Issue 23126004: GTTF: Fix a comparator that was not Strict Weak Ordering. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/chromeos/system/automatic_reboot_manager_unittest.cc
diff --git a/chrome/browser/chromeos/system/automatic_reboot_manager_unittest.cc b/chrome/browser/chromeos/system/automatic_reboot_manager_unittest.cc
index 2f1e53e836960dc23114bd03d4be48914700aa3b..6f76b354b2ef578845f37d6b2e78668ea0a33fda 100644
--- a/chrome/browser/chromeos/system/automatic_reboot_manager_unittest.cc
+++ b/chrome/browser/chromeos/system/automatic_reboot_manager_unittest.cc
@@ -309,7 +309,7 @@ void MockTimeSingleThreadTaskRunner::RunUntilIdle() {
bool MockTimeSingleThreadTaskRunner::TemporalOrder::operator()(
const std::pair<base::TimeTicks, base::Closure>& first_task,
const std::pair<base::TimeTicks, base::Closure>& second_task) const {
- return first_task.first >= second_task.first;
+ return first_task.first > second_task.first;
}
MockTimeSingleThreadTaskRunner::~MockTimeSingleThreadTaskRunner() {
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine