diff options
author | jar@google.com <jar@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2008-10-20 17:43:59 +0000 |
---|---|---|
committer | jar@google.com <jar@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2008-10-20 17:43:59 +0000 |
commit | 095e60bc9356f740f2dea8b7c0f85cfaca92c519 (patch) | |
tree | f8fdcd675cad1635f8fa55647051142331c7e887 /chrome/browser/render_widget_host_view_win.cc | |
parent | 4015fa35278dc148276721c7a361c93a80b0a362 (diff) | |
download | chromium_src-095e60bc9356f740f2dea8b7c0f85cfaca92c519.zip chromium_src-095e60bc9356f740f2dea8b7c0f85cfaca92c519.tar.gz chromium_src-095e60bc9356f740f2dea8b7c0f85cfaca92c519.tar.bz2 |
Disable FieldTrial code to repair UI reliability test regression
r=mbelshe
Review URL: http://codereview.chromium.org/7520
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@3608 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/render_widget_host_view_win.cc')
-rw-r--r-- | chrome/browser/render_widget_host_view_win.cc | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/chrome/browser/render_widget_host_view_win.cc b/chrome/browser/render_widget_host_view_win.cc index eef290f..4af8a8c 100644 --- a/chrome/browser/render_widget_host_view_win.cc +++ b/chrome/browser/render_widget_host_view_win.cc @@ -435,6 +435,7 @@ void RenderWidgetHostViewWin::OnPaint(HDC dc) { if (!whiteout_start_time_.is_null()) { TimeDelta whiteout_duration = TimeTicks::Now() - whiteout_start_time_; +#if 0 // TODO(jar): temp rollback to fix UI reliability regression // If field trial is active, report results in special histogram. static scoped_refptr<FieldTrial> trial( FieldTrialList::Find(BrowserTrial::kMemoryModelFieldTrial)); @@ -448,6 +449,9 @@ void RenderWidgetHostViewWin::OnPaint(HDC dc) { } else { UMA_HISTOGRAM_TIMES(L"MPArch.RWHH_WhiteoutDuration", whiteout_duration); } +#else + UMA_HISTOGRAM_TIMES(L"MPArch.RWHH_WhiteoutDuration", whiteout_duration); +#endif // 0. // Reset the start time to 0 so that we start recording again the next // time the backing store is NULL... |