diff options
author | sadrul@chromium.org <sadrul@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-02-19 07:36:28 +0000 |
---|---|---|
committer | sadrul@chromium.org <sadrul@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-02-19 07:36:28 +0000 |
commit | 126d937b48e5d84399e4050f48daeb560291fb19 (patch) | |
tree | ac404471156c22a4a5df4bc3766350a5287d12c4 /webkit/glue/webkit_constants.h | |
parent | 1d8a3d1fe0e07d5aaf1f0a5527097b9e313d23b6 (diff) | |
download | chromium_src-126d937b48e5d84399e4050f48daeb560291fb19.zip chromium_src-126d937b48e5d84399e4050f48daeb560291fb19.tar.gz chromium_src-126d937b48e5d84399e4050f48daeb560291fb19.tar.bz2 |
Revert 75430 because it's causing failures in dom_checker_tests.
: Increase the minimum interval for timers on background tabs to reduce
their CPU consumption.
The new interval is 1000 ms, or once per second. We can easily adjust
this value up or down, but this seems like a reasonable value to judge
the compatibility impact of this change.
BUG=66078
TEST=none (tested manually with minimal test case)
Review URL: http://codereview.chromium.org/6546021
TBR=kbr@google.com
Review URL: http://codereview.chromium.org/6538073
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@75490 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit/glue/webkit_constants.h')
-rw-r--r-- | webkit/glue/webkit_constants.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/webkit/glue/webkit_constants.h b/webkit/glue/webkit_constants.h index a209b52..54e7e00 100644 --- a/webkit/glue/webkit_constants.h +++ b/webkit/glue/webkit_constants.h @@ -15,7 +15,7 @@ namespace webkit_glue { const double kForegroundTabTimerInterval = 0.004; // Provides control over the minimum timer interval for background tabs. -const double kBackgroundTabTimerInterval = 1.0; +const double kBackgroundTabTimerInterval = 0.004; } // namespace webkit_glue |