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

Unified Diff: cc/layers/solid_color_scrollbar_layer_impl.cc

Issue 24182003: Take 2 at removing thumb thickness compositor setting. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: remove spurious change Created 7 years, 3 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 | « cc/layers/scrollbar_layer_unittest.cc ('k') | cc/trees/layer_tree_settings.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/layers/solid_color_scrollbar_layer_impl.cc
diff --git a/cc/layers/solid_color_scrollbar_layer_impl.cc b/cc/layers/solid_color_scrollbar_layer_impl.cc
index 806a2365a7bc3c9b175c75822977b8c728a95c1a..9f46a8080f513adc1c1f3118cdda77debed87aea 100644
--- a/cc/layers/solid_color_scrollbar_layer_impl.cc
+++ b/cc/layers/solid_color_scrollbar_layer_impl.cc
@@ -46,15 +46,6 @@ void SolidColorScrollbarLayerImpl::PushPropertiesTo(LayerImpl* layer) {
}
int SolidColorScrollbarLayerImpl::ThumbThickness() const {
- // TODO(wjmaclean) This should be removed when
- // solid_color_scrollbar_thickness_dip is removed.
- int thickness_override =
- layer_tree_impl()
- ? layer_tree_impl()->settings().solid_color_scrollbar_thickness_dip
- : -1;
- if (thickness_override != -1)
- return thickness_override;
-
if (thumb_thickness_ != -1)
return thumb_thickness_;
« no previous file with comments | « cc/layers/scrollbar_layer_unittest.cc ('k') | cc/trees/layer_tree_settings.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698