summaryrefslogtreecommitdiffstats
path: root/cc/layers/painted_scrollbar_layer_impl.cc
diff options
context:
space:
mode:
Diffstat (limited to 'cc/layers/painted_scrollbar_layer_impl.cc')
-rw-r--r--cc/layers/painted_scrollbar_layer_impl.cc7
1 files changed, 5 insertions, 2 deletions
diff --git a/cc/layers/painted_scrollbar_layer_impl.cc b/cc/layers/painted_scrollbar_layer_impl.cc
index ea48086..152f14d 100644
--- a/cc/layers/painted_scrollbar_layer_impl.cc
+++ b/cc/layers/painted_scrollbar_layer_impl.cc
@@ -73,6 +73,7 @@ void PaintedScrollbarLayerImpl::AppendQuads(
AppendQuadsData* append_quads_data) {
bool premultipled_alpha = true;
bool flipped = false;
+ bool nearest_neighbor = false;
gfx::PointF uv_top_left(0.f, 0.f);
gfx::PointF uv_bottom_right(1.f, 1.f);
gfx::Rect bounds_rect(bounds());
@@ -109,7 +110,8 @@ void PaintedScrollbarLayerImpl::AppendQuads(
uv_bottom_right,
SK_ColorTRANSPARENT,
opacity,
- flipped);
+ flipped,
+ nearest_neighbor);
}
gfx::Rect track_quad_rect = content_bounds_rect;
@@ -130,7 +132,8 @@ void PaintedScrollbarLayerImpl::AppendQuads(
uv_bottom_right,
SK_ColorTRANSPARENT,
opacity,
- flipped);
+ flipped,
+ nearest_neighbor);
}
}