summaryrefslogtreecommitdiffstats
path: root/webkit/glue/webpreferences.cc
diff options
context:
space:
mode:
authorkbr@chromium.org <kbr@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-02-23 02:45:51 +0000
committerkbr@chromium.org <kbr@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-02-23 02:45:51 +0000
commit1ee59cb007ee9ed5aced09853b1976871857e16d (patch)
treee2f0cdced0a9e2d1f9d02cda31d3834fc2a0b1e9 /webkit/glue/webpreferences.cc
parentb907defea0f7059faa4502f505d793fd272860d2 (diff)
downloadchromium_src-1ee59cb007ee9ed5aced09853b1976871857e16d.zip
chromium_src-1ee59cb007ee9ed5aced09853b1976871857e16d.tar.gz
chromium_src-1ee59cb007ee9ed5aced09853b1976871857e16d.tar.bz2
Initialize the minimum timer interval upon RenderView construction,
not during WebPreferences application, and base the interval on the initial hidden state of the view. This fixes a bug introduced late in the development of the minimum timer interval for background tabs, and also will fix http://code.google.com/p/chromium/issues/detail?id=73726 once the minimum timer interval is increased again. BUG=66078 TEST=manual tests Review URL: http://codereview.chromium.org/6546080 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@75700 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit/glue/webpreferences.cc')
-rw-r--r--webkit/glue/webpreferences.cc4
1 files changed, 0 insertions, 4 deletions
diff --git a/webkit/glue/webpreferences.cc b/webkit/glue/webpreferences.cc
index 497efd7..252b83d 100644
--- a/webkit/glue/webpreferences.cc
+++ b/webkit/glue/webpreferences.cc
@@ -12,7 +12,6 @@
#include "third_party/WebKit/Source/WebKit/chromium/public/WebString.h"
#include "third_party/WebKit/Source/WebKit/chromium/public/WebURL.h"
#include "third_party/WebKit/Source/WebKit/chromium/public/WebView.h"
-#include "webkit/glue/webkit_constants.h"
#include "webkit/glue/webkit_glue.h"
using WebKit::WebRuntimeFeatures;
@@ -206,7 +205,4 @@ void WebPreferences::Apply(WebView* web_view) const {
settings->setInteractiveFormValidationEnabled(
interactive_form_validation_enabled);
-
- // Tabs start out hidden and are made visible.
- settings->setMinimumTimerInterval(webkit_glue::kBackgroundTabTimerInterval);
}