summaryrefslogtreecommitdiffstats
path: root/app/hi_res_timer_manager_win.cc
diff options
context:
space:
mode:
Diffstat (limited to 'app/hi_res_timer_manager_win.cc')
-rw-r--r--app/hi_res_timer_manager_win.cc4
1 files changed, 1 insertions, 3 deletions
diff --git a/app/hi_res_timer_manager_win.cc b/app/hi_res_timer_manager_win.cc
index b7cee1d..6fbffca 100644
--- a/app/hi_res_timer_manager_win.cc
+++ b/app/hi_res_timer_manager_win.cc
@@ -25,7 +25,5 @@ void HighResolutionTimerManager::OnPowerStateChange(bool on_battery_power) {
void HighResolutionTimerManager::UseHiResClock(bool use) {
if (use == hi_res_clock_used_)
return;
- bool result = base::Time::UseHighResolutionTimer(use);
- DCHECK(result);
- hi_res_clock_used_ = use;
+ base::Time::EnableHighResolutionTimer(use);
}