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

Unified Diff: content/renderer/gpu/render_widget_compositor.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
Index: content/renderer/gpu/render_widget_compositor.cc
diff --git a/content/renderer/gpu/render_widget_compositor.cc b/content/renderer/gpu/render_widget_compositor.cc
index a82089103490aee8c1f077445eec589746d245d8..ca79e81663154107992c256b8da753ce883e1342 100644
--- a/content/renderer/gpu/render_widget_compositor.cc
+++ b/content/renderer/gpu/render_widget_compositor.cc
@@ -236,12 +236,7 @@ void RenderWidgetCompositor::Initialize() {
!compositor_deps_->IsElasticOverscrollEnabled();
settings.accelerated_animation_enabled =
!cmd->HasSwitch(cc::switches::kDisableThreadedAnimation);
- const std::string slimming_group =
- base::FieldTrialList::FindFullName("SlimmingPaint");
- settings.use_display_lists =
- (cmd->HasSwitch(switches::kEnableSlimmingPaint) ||
- !cmd->HasSwitch(switches::kDisableSlimmingPaint)) &&
- (slimming_group != "DisableSlimmingPaint");
+ settings.use_display_lists = cmd->HasSwitch(switches::kEnableSlimmingPaint);
if (cmd->HasSwitch(switches::kEnableCompositorAnimationTimelines)) {
settings.use_compositor_animation_timelines = true;
blink::WebRuntimeFeatures::enableCompositorAnimationTimelines(true);
« no previous file with comments | « content/browser/renderer_host/render_view_host_impl.cc ('k') | content/shell/renderer/layout_test/blink_test_runner.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698