diff options
author | willchan@chromium.org <willchan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-05-18 07:14:08 +0000 |
---|---|---|
committer | willchan@chromium.org <willchan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-05-18 07:14:08 +0000 |
commit | 5f988b937aedc6facdd9854ad3fc7fbdf6c9f894 (patch) | |
tree | ef48163d1446a13e8981b0dfbbcb906bcf2c867b /content/common/hi_res_timer_manager_win.cc | |
parent | 263d2140c09aab094d045eb0736b22236290dd6d (diff) | |
download | chromium_src-5f988b937aedc6facdd9854ad3fc7fbdf6c9f894.zip chromium_src-5f988b937aedc6facdd9854ad3fc7fbdf6c9f894.tar.gz chromium_src-5f988b937aedc6facdd9854ad3fc7fbdf6c9f894.tar.bz2 |
Revert 85732 (broke build) - Move SystemMonitor to base/.
I plan to use SystemMonitor in net/.
Fix up the Mac implementation not to use Cocoa APIs since @interface is not allowed in base.
BUG=none
TEST=none
Review URL: http://codereview.chromium.org/7015017
TBR=willchan@chromium.org
Review URL: http://codereview.chromium.org/7042003
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@85734 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'content/common/hi_res_timer_manager_win.cc')
-rw-r--r-- | content/common/hi_res_timer_manager_win.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/content/common/hi_res_timer_manager_win.cc b/content/common/hi_res_timer_manager_win.cc index 45f22ba..d41c4bd 100644 --- a/content/common/hi_res_timer_manager_win.cc +++ b/content/common/hi_res_timer_manager_win.cc @@ -8,13 +8,13 @@ HighResolutionTimerManager::HighResolutionTimerManager() : hi_res_clock_available_(false) { - base::SystemMonitor* system_monitor = base::SystemMonitor::Get(); + ui::SystemMonitor* system_monitor = ui::SystemMonitor::Get(); system_monitor->AddObserver(this); UseHiResClock(!system_monitor->BatteryPower()); } HighResolutionTimerManager::~HighResolutionTimerManager() { - base::SystemMonitor::Get()->RemoveObserver(this); + ui::SystemMonitor::Get()->RemoveObserver(this); UseHiResClock(false); } |