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

Unified Diff: base/time/time_win_unittest.cc

Issue 1122153002: Fixit: Fork base::TimeTicks --> TimeTicks + ThreadTicks + TraceTicks (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@FIXIT_timeclasses_1of2
Patch Set: REBASE after it passed CQ but did not commit to tree 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 | « base/time/time_win.cc ('k') | base/trace_event/trace_event.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/time/time_win_unittest.cc
diff --git a/base/time/time_win_unittest.cc b/base/time/time_win_unittest.cc
index 82be8c5254dd7e2722829e6997cf9d99202092c9..75b237ed65da1a36f9f17c9da6ce0352113ac504 100644
--- a/base/time/time_win_unittest.cc
+++ b/base/time/time_win_unittest.cc
@@ -17,6 +17,7 @@
using base::Time;
using base::TimeDelta;
using base::TimeTicks;
+using base::TraceTicks;
namespace {
@@ -185,9 +186,9 @@ TEST(TimeTicks, TimerPerformance) {
COMPILE_ASSERT(sizeof(TimeTicks) == sizeof(Time),
test_only_works_with_same_sizes);
TestCase cases[] = {
- { reinterpret_cast<TestFunc>(Time::Now), "Time::Now" },
- { TimeTicks::Now, "TimeTicks::Now" },
- { TimeTicks::NowFromSystemTraceTime, "TimeTicks::NowFromSystemTraceTime" },
+ { reinterpret_cast<TestFunc>(&Time::Now), "Time::Now" },
+ { &TimeTicks::Now, "TimeTicks::Now" },
+ { reinterpret_cast<TestFunc>(&TraceTicks::Now), "TraceTicks::Now" },
{ NULL, "" }
};
« no previous file with comments | « base/time/time_win.cc ('k') | base/trace_event/trace_event.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698