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

Unified Diff: base/time/time_win.cc

Issue 839143002: Roll Chrome into Mojo. (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Rebase Created 5 years, 11 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.h ('k') | base/timer/elapsed_timer.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/time/time_win.cc
diff --git a/base/time/time_win.cc b/base/time/time_win.cc
index 006118091fc4ee74584ca10784487cbf73c4b70e..9b4f17d6613c7e60b8576adc9ae3b2a6afc8c8a3 100644
--- a/base/time/time_win.cc
+++ b/base/time/time_win.cc
@@ -540,14 +540,6 @@ bool TimeTicks::IsHighResClockWorking() {
return GetHighResNowSingleton()->IsUsingHighResClock();
}
-TimeTicks TimeTicks::UnprotectedNow() {
- if (now_function == HighResNowWrapper) {
- return Now();
- } else {
- return TimeTicks() + TimeDelta::FromMilliseconds(timeGetTime());
- }
-}
-
// TimeDelta ------------------------------------------------------------------
// static
« no previous file with comments | « base/time/time.h ('k') | base/timer/elapsed_timer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698