From 73458f2624eef8a68a1637c41b26705a8b0874cf Mon Sep 17 00:00:00 2001 From: "dongseong.hwang@intel.com" Date: Wed, 2 Apr 2014 00:44:37 +0000 Subject: cc: Remove unused variable LayerTreeSettings::use_memory_management. BUG=N/A Review URL: https://codereview.chromium.org/220243004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@261007 0039d316-1c4b-4281-b951-d872f2087c98 --- cc/trees/layer_tree_settings.cc | 1 - cc/trees/layer_tree_settings.h | 1 - content/browser/renderer_host/compositor_impl_android.cc | 1 - 3 files changed, 3 deletions(-) diff --git a/cc/trees/layer_tree_settings.cc b/cc/trees/layer_tree_settings.cc index a3994ae..e3e1b50 100644 --- a/cc/trees/layer_tree_settings.cc +++ b/cc/trees/layer_tree_settings.cc @@ -32,7 +32,6 @@ LayerTreeSettings::LayerTreeSettings() scrollbar_linear_fade_length_ms(300), solid_color_scrollbar_color(SK_ColorWHITE), calculate_top_controls_position(false), - use_memory_management(true), timeout_and_draw_when_animation_checkerboards(true), maximum_number_of_failed_draws_before_draw_is_forced_(3), layer_transforms_should_scale_layer_contents(false), diff --git a/cc/trees/layer_tree_settings.h b/cc/trees/layer_tree_settings.h index ecafb8f..dc97c84 100644 --- a/cc/trees/layer_tree_settings.h +++ b/cc/trees/layer_tree_settings.h @@ -48,7 +48,6 @@ class CC_EXPORT LayerTreeSettings { int scrollbar_linear_fade_length_ms; SkColor solid_color_scrollbar_color; bool calculate_top_controls_position; - bool use_memory_management; bool timeout_and_draw_when_animation_checkerboards; int maximum_number_of_failed_draws_before_draw_is_forced_; bool layer_transforms_should_scale_layer_contents; diff --git a/content/browser/renderer_host/compositor_impl_android.cc b/content/browser/renderer_host/compositor_impl_android.cc index 8b57538..6fd6a2a 100644 --- a/content/browser/renderer_host/compositor_impl_android.cc +++ b/content/browser/renderer_host/compositor_impl_android.cc @@ -385,7 +385,6 @@ void CompositorImpl::SetVisible(bool visible) { settings.allow_antialiasing = false; settings.calculate_top_controls_position = false; settings.top_controls_height = 0.f; - settings.use_memory_management = false; settings.highp_threshold_min = 2048; CommandLine* command_line = CommandLine::ForCurrentProcess(); -- cgit v1.1