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

Unified Diff: app/hi_res_timer_manager_win.cc

Issue 2822035: Change chrome from statically enabling high resolution timers on windows... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 10 years, 6 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 | « no previous file | base/message_loop.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: app/hi_res_timer_manager_win.cc
===================================================================
--- app/hi_res_timer_manager_win.cc (revision 51045)
+++ app/hi_res_timer_manager_win.cc (working copy)
@@ -25,7 +25,5 @@
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);
}
« no previous file with comments | « no previous file | base/message_loop.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698