diff options
author | tony@chromium.org <tony@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-10-05 21:50:46 +0000 |
---|---|---|
committer | tony@chromium.org <tony@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-10-05 21:50:46 +0000 |
commit | 41b3ae9e8d2f0dffef0e83984856cd4669bdba52 (patch) | |
tree | 6d12f2cdf7c78a6d959258336aa67f060e39f298 /chrome/browser | |
parent | edbbb076d1424f74d366fbfcbedf7698753bfa99 (diff) | |
download | chromium_src-41b3ae9e8d2f0dffef0e83984856cd4669bdba52.zip chromium_src-41b3ae9e8d2f0dffef0e83984856cd4669bdba52.tar.gz chromium_src-41b3ae9e8d2f0dffef0e83984856cd4669bdba52.tar.bz2 |
Up the new tab paint observer timeout from 2s to 5s. Trying to see
if this gets us more accurate data on new tab times.
BUG=21398
TBR=evanm (ok'ed in person)
Review URL: http://codereview.chromium.org/257052
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@28050 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser')
-rw-r--r-- | chrome/browser/dom_ui/new_tab_ui.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/chrome/browser/dom_ui/new_tab_ui.cc b/chrome/browser/dom_ui/new_tab_ui.cc index 688377f..353f224 100644 --- a/chrome/browser/dom_ui/new_tab_ui.cc +++ b/chrome/browser/dom_ui/new_tab_ui.cc @@ -174,8 +174,8 @@ class PaintTimer : public RenderWidgetHost::PaintObserver { private: // The amount of time there must be no painting for us to consider painting - // finished. Observed times are in the ~1200ms range. - static const int kTimeoutMs = 2000; + // finished. Observed times are in the ~1200ms range on Windows. + static const int kTimeoutMs = 5000; // The time when we started benchmarking. base::TimeTicks start_; // The last time we got a paint notification. |