summaryrefslogtreecommitdiffstats
path: root/chrome/browser/render_widget_host_view_win.cc
diff options
context:
space:
mode:
authorjar@google.com <jar@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2008-10-20 20:40:14 +0000
committerjar@google.com <jar@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2008-10-20 20:40:14 +0000
commitb68e90f448a93b7779d538480f19dfcc4b7095ac (patch)
tree1ae8cdf188729dae7c0acc383b15f85f868892fd /chrome/browser/render_widget_host_view_win.cc
parente3d71ec17455b85384493160c15a1bf165351972 (diff)
downloadchromium_src-b68e90f448a93b7779d538480f19dfcc4b7095ac.zip
chromium_src-b68e90f448a93b7779d538480f19dfcc4b7095ac.tar.gz
chromium_src-b68e90f448a93b7779d538480f19dfcc4b7095ac.tar.bz2
Restore field trial for memory model
Rollback was not needed to correct distributed test regression. This reverts changes in 3608, which were done to try to repair the regression. r=huanr Review URL: http://codereview.chromium.org/7522 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@3627 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.cc4
1 files changed, 0 insertions, 4 deletions
diff --git a/chrome/browser/render_widget_host_view_win.cc b/chrome/browser/render_widget_host_view_win.cc
index 4af8a8c..eef290f 100644
--- a/chrome/browser/render_widget_host_view_win.cc
+++ b/chrome/browser/render_widget_host_view_win.cc
@@ -435,7 +435,6 @@ 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));
@@ -449,9 +448,6 @@ 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...