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

Unified Diff: app/hi_res_timer_manager.h

Issue 3948001: Revert 63176 - Fix regression where high resolution timers could be activated... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 10 years, 2 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 | « app/app.gyp ('k') | app/hi_res_timer_manager_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: app/hi_res_timer_manager.h
===================================================================
--- app/hi_res_timer_manager.h (revision 63176)
+++ app/hi_res_timer_manager.h (working copy)
@@ -18,14 +18,11 @@
// SystemMonitor::PowerObserver:
void OnPowerStateChange(bool on_battery_power);
- // Returns true if the hi resolution clock could be used right now.
- bool hi_res_clock_available() const { return hi_res_clock_available_; }
-
private:
// Enable or disable the faster multimedia timer.
void UseHiResClock(bool use);
- bool hi_res_clock_available_;
+ bool hi_res_clock_used_;
DISALLOW_COPY_AND_ASSIGN(HighResolutionTimerManager);
};
« no previous file with comments | « app/app.gyp ('k') | app/hi_res_timer_manager_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698