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

Unified Diff: cc/layers/solid_color_scrollbar_layer_impl_unittest.cc

Issue 234603002: Add support for setting TrackStart on solid color layers. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix more unit test compile Created 6 years, 8 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/solid_color_scrollbar_layer_impl.cc ('k') | cc/test/layer_test_common.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_unittest.cc
diff --git a/cc/layers/solid_color_scrollbar_layer_impl_unittest.cc b/cc/layers/solid_color_scrollbar_layer_impl_unittest.cc
index 0317015e96e4806887a8cb13e178ff4c8da217dc..ba82be53574df103f55efd131d59404afc73f082 100644
--- a/cc/layers/solid_color_scrollbar_layer_impl_unittest.cc
+++ b/cc/layers/solid_color_scrollbar_layer_impl_unittest.cc
@@ -18,6 +18,7 @@ TEST(SolidColorScrollbarLayerImplTest, Occlusion) {
ScrollbarOrientation orientation = VERTICAL;
int thumb_thickness = layer_size.width();
+ int track_start = 0;
bool is_left_side_vertical_scrollbar = false;
bool is_overlay = false;
@@ -25,6 +26,7 @@ TEST(SolidColorScrollbarLayerImplTest, Occlusion) {
impl.AddChildToRoot<SolidColorScrollbarLayerImpl>(
orientation,
thumb_thickness,
+ track_start,
is_left_side_vertical_scrollbar,
is_overlay);
scrollbar_layer_impl->SetAnchorPoint(gfx::PointF());
« no previous file with comments | « cc/layers/solid_color_scrollbar_layer_impl.cc ('k') | cc/test/layer_test_common.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698