Index: chrome/browser/chromeos/display/overscan_calibrator.cc |
diff --git a/chrome/browser/chromeos/display/overscan_calibrator.cc b/chrome/browser/chromeos/display/overscan_calibrator.cc |
index 9d9ccf5cfd9f900f36ee2e9d0aba7c73253e9b78..0cc03f7f95adcc4fb45b6df73f168f7ca66836fd 100644 |
--- a/chrome/browser/chromeos/display/overscan_calibrator.cc |
+++ b/chrome/browser/chromeos/display/overscan_calibrator.cc |
@@ -39,13 +39,13 @@ void DrawTriangle(int x_offset, |
double rotation_degree, |
gfx::Canvas* canvas) { |
// Draw triangular arrows. |
- SkPaint content_paint; |
- content_paint.setStyle(SkPaint::kFill_Style); |
- content_paint.setColor(SkColorSetA( |
+ cc::PaintFlags content_flags; |
+ content_flags.setStyle(cc::PaintFlags::kFill_Style); |
+ content_flags.setColor(SkColorSetA( |
SK_ColorBLACK, std::numeric_limits<uint8_t>::max() * kArrowOpacity)); |
- SkPaint border_paint; |
- border_paint.setStyle(SkPaint::kStroke_Style); |
- border_paint.setColor(SkColorSetA( |
+ cc::PaintFlags border_flags; |
+ border_flags.setStyle(cc::PaintFlags::kStroke_Style); |
+ border_flags.setColor(SkColorSetA( |
SK_ColorWHITE, std::numeric_limits<uint8_t>::max() * kArrowOpacity)); |
SkPath base_path; |
@@ -64,8 +64,8 @@ void DrawTriangle(int x_offset, |
rotate_transform.ConcatTransform(move_transform); |
base_path.transform(rotate_transform.matrix(), &path); |
- canvas->DrawPath(path, content_paint); |
- canvas->DrawPath(path, border_paint); |
+ canvas->DrawPath(path, content_flags); |
+ canvas->DrawPath(path, border_flags); |
} |
} // namespace |