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

Unified Diff: content/browser/renderer_host/render_view_host_impl.cc

Issue 1226163015: CL for perf tryjob on win (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 5 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 | content/renderer/gpu/render_widget_compositor.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/renderer_host/render_view_host_impl.cc
diff --git a/content/browser/renderer_host/render_view_host_impl.cc b/content/browser/renderer_host/render_view_host_impl.cc
index 2bc572f0a3b739dfe6ece01c0a9abf6972e2f6d9..11b058142ca70285dd3d03db3c396ba170eed8c3 100644
--- a/content/browser/renderer_host/render_view_host_impl.cc
+++ b/content/browser/renderer_host/render_view_host_impl.cc
@@ -465,12 +465,9 @@ WebPreferences RenderViewHostImpl::ComputeWebkitPrefs() {
prefs.touch_adjustment_enabled =
!command_line.HasSwitch(switches::kDisableTouchAdjustment);
- const std::string slimming_group =
- base::FieldTrialList::FindFullName("SlimmingPaint");
- prefs.slimming_paint_enabled =
- (command_line.HasSwitch(switches::kEnableSlimmingPaint) ||
- !command_line.HasSwitch(switches::kDisableSlimmingPaint)) &&
- (slimming_group != "DisableSlimmingPaint");
+ prefs.slimming_paint_enabled = command_line.HasSwitch(
+ switches::kEnableSlimmingPaint);
+
#if defined(OS_MACOSX) || defined(OS_CHROMEOS)
bool default_enable_scroll_animator = true;
#else
« no previous file with comments | « no previous file | content/renderer/gpu/render_widget_compositor.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698