Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(451)

Unified Diff: chrome/browser/dom_ui/new_tab_ui.cc

Issue 257052: Up the new tab paint observer timeout from 2s to 5s. Trying to see (Closed)
Patch Set: Created 11 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/dom_ui/new_tab_ui.cc
diff --git a/chrome/browser/dom_ui/new_tab_ui.cc b/chrome/browser/dom_ui/new_tab_ui.cc
index 688377ff0baea851e51f479e937d3eac125a6157..353f2241bb53b69b1e13a24a254e59199ca8418c 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.
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698