diff options
author | mbelshe@chromium.org <mbelshe@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-10-20 03:44:54 +0000 |
---|---|---|
committer | mbelshe@chromium.org <mbelshe@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-10-20 03:44:54 +0000 |
commit | 8f31f41edbe94651e1df889993be0704954942db (patch) | |
tree | a4374974be005d9f970b5a183cbf93f4a856c89e /app/app.gyp | |
parent | 8eb22e90fd85f78f36362434cf37aad8171f5d21 (diff) | |
download | chromium_src-8f31f41edbe94651e1df889993be0704954942db.zip chromium_src-8f31f41edbe94651e1df889993be0704954942db.tar.gz chromium_src-8f31f41edbe94651e1df889993be0704954942db.tar.bz2 |
Fix regression where high resolution timers could be activated even under
battery power. Add unit test to protect chromium from developers like me
in the future.
The fix is a one-liner in hi_res_timer_manager_win.cc. The rest of the code
change is the mechanics to enable the unit test.
BUG=59528
TEST=HiResTimerManagerTest.ToggleOnOff
Review URL: http://codereview.chromium.org/3848002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@63176 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'app/app.gyp')
-rw-r--r-- | app/app.gyp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/app/app.gyp b/app/app.gyp index 2c8e7f7..538b73d 100644 --- a/app/app.gyp +++ b/app/app.gyp @@ -41,6 +41,7 @@ 'animation_container_unittest.cc', 'animation_unittest.cc', 'clipboard/clipboard_unittest.cc', + 'hi_res_timer_manager_unittest.cc', 'l10n_util_mac_unittest.mm', 'l10n_util_unittest.cc', 'multi_animation_unittest.cc', |