summaryrefslogtreecommitdiffstats
path: root/chrome/browser
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser')
-rw-r--r--chrome/browser/browser_process_impl.cc2
-rw-r--r--chrome/browser/render_widget_host_view_win.cc4
2 files changed, 0 insertions, 6 deletions
diff --git a/chrome/browser/browser_process_impl.cc b/chrome/browser/browser_process_impl.cc
index c28f8c1..d4aabe7 100644
--- a/chrome/browser/browser_process_impl.cc
+++ b/chrome/browser/browser_process_impl.cc
@@ -117,7 +117,6 @@ BrowserProcessImpl::BrowserProcessImpl(CommandLine& command_line)
memory_model_ = MEDIUM_MEMORY_MODEL;
}
} else {
-#if 0 // TODO(jar): Comment out setting of fix UI reliability regression.
// Randomly choose what memory model to use.
const double probability = 0.5;
FieldTrial* trial(new FieldTrial(BrowserTrial::kMemoryModelFieldTrial,
@@ -127,7 +126,6 @@ BrowserProcessImpl::BrowserProcessImpl(CommandLine& command_line)
memory_model_ = HIGH_MEMORY_MODEL;
else
memory_model_ = MEDIUM_MEMORY_MODEL;
-#endif // 0.
}
suspend_controller_ = new SuspendController();
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...