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

Unified Diff: cc/layers/painted_scrollbar_layer_impl.h

Issue 913393004: Revert of cc: Make PaintedScrollbarLayer not use ContentsScalingLayer (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 10 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/painted_scrollbar_layer.cc ('k') | cc/layers/painted_scrollbar_layer_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/layers/painted_scrollbar_layer_impl.h
diff --git a/cc/layers/painted_scrollbar_layer_impl.h b/cc/layers/painted_scrollbar_layer_impl.h
index 18df63de6dd368a951e3144c7b5e3ef687f324e4..8708b748662b0a7cdeefcbffa38310c8f4c3b97d 100644
--- a/cc/layers/painted_scrollbar_layer_impl.h
+++ b/cc/layers/painted_scrollbar_layer_impl.h
@@ -45,12 +45,6 @@
thumb_ui_resource_id_ = uid;
}
- void set_internal_contents_scale_and_bounds(float content_scale,
- const gfx::Size& content_bounds) {
- internal_contents_scale_ = content_scale;
- internal_content_bounds_ = content_bounds;
- }
-
protected:
PaintedScrollbarLayerImpl(LayerTreeImpl* tree_impl,
int id,
@@ -69,9 +63,6 @@
UIResourceId track_ui_resource_id_;
UIResourceId thumb_ui_resource_id_;
- float internal_contents_scale_;
- gfx::Size internal_content_bounds_;
-
int thumb_thickness_;
int thumb_length_;
int track_start_;
« no previous file with comments | « cc/layers/painted_scrollbar_layer.cc ('k') | cc/layers/painted_scrollbar_layer_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698