| Index: cc/trees/layer_tree_host_pixeltest_scrollbars.cc
|
| diff --git a/cc/trees/layer_tree_host_pixeltest_scrollbars.cc b/cc/trees/layer_tree_host_pixeltest_scrollbars.cc
|
| index 0c9f24cfcc08eabd4061e15f6d41fd0194b87382..61e207c86f7ff495563efdba3b85fd837b0bba46 100644
|
| --- a/cc/trees/layer_tree_host_pixeltest_scrollbars.cc
|
| +++ b/cc/trees/layer_tree_host_pixeltest_scrollbars.cc
|
| @@ -9,6 +9,8 @@
|
| #include "cc/input/scrollbar.h"
|
| #include "cc/layers/painted_scrollbar_layer.h"
|
| #include "cc/layers/solid_color_layer.h"
|
| +#include "cc/paint/paint_canvas.h"
|
| +#include "cc/paint/paint_flags.h"
|
| #include "cc/test/layer_tree_pixel_test.h"
|
| #include "cc/test/test_in_process_context_provider.h"
|
| #include "gpu/command_buffer/client/gles2_interface.h"
|
| @@ -49,11 +51,11 @@ class PaintedScrollbar : public Scrollbar {
|
| gfx::Rect TrackRect() const override { return rect_; }
|
| float ThumbOpacity() const override { return 1.f; }
|
| bool NeedsPaintPart(ScrollbarPart part) const override { return true; }
|
| - void PaintPart(SkCanvas* canvas,
|
| + void PaintPart(PaintCanvas* canvas,
|
| ScrollbarPart part,
|
| const gfx::Rect& content_rect) override {
|
| - SkPaint paint;
|
| - paint.setStyle(SkPaint::kStroke_Style);
|
| + PaintFlags paint;
|
| + paint.setStyle(PaintFlags::kStroke_Style);
|
| paint.setStrokeWidth(SkIntToScalar(paint_scale_));
|
| paint.setColor(color_);
|
|
|
|
|