diff options
author | tony@chromium.org <tony@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-10-06 22:55:41 +0000 |
---|---|---|
committer | tony@chromium.org <tony@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-10-06 22:55:41 +0000 |
commit | 86a3424a01007dbd6922f3eb56c07cfc20f8fc6d (patch) | |
tree | cfe590ad066adda0a5067eb41cea5688706ad9bc /chrome | |
parent | b257dcb9d1850f39554dfc722e7f40474adb6a84 (diff) | |
download | chromium_src-86a3424a01007dbd6922f3eb56c07cfc20f8fc6d.zip chromium_src-86a3424a01007dbd6922f3eb56c07cfc20f8fc6d.tar.gz chromium_src-86a3424a01007dbd6922f3eb56c07cfc20f8fc6d.tar.bz2 |
Revert r28050 and put the paint observer timeout back to 2 sec.
The new tab times didn't change on linux/mac so that's probably
not the problem. This will speed up the new tab tests.
Review URL: http://codereview.chromium.org/256083
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@28175 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome')
-rw-r--r-- | chrome/browser/dom_ui/new_tab_ui.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/chrome/browser/dom_ui/new_tab_ui.cc b/chrome/browser/dom_ui/new_tab_ui.cc index 353f224..8035445 100644 --- a/chrome/browser/dom_ui/new_tab_ui.cc +++ b/chrome/browser/dom_ui/new_tab_ui.cc @@ -175,7 +175,7 @@ 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 on Windows. - static const int kTimeoutMs = 5000; + static const int kTimeoutMs = 2000; // The time when we started benchmarking. base::TimeTicks start_; // The last time we got a paint notification. |