| Index: ui/views/bubble/bubble_border.cc
|
| diff --git a/ui/views/bubble/bubble_border.cc b/ui/views/bubble/bubble_border.cc
|
| index 8b282fa8abeaa7d71feaa8cf773f5681e9d0c673..3a1609b936945900e8b5df13e8b66eea95b3f6c6 100644
|
| --- a/ui/views/bubble/bubble_border.cc
|
| +++ b/ui/views/bubble/bubble_border.cc
|
| @@ -358,7 +358,7 @@ void BubbleBorder::Paint(const views::View& view, gfx::Canvas* canvas) {
|
|
|
| // Clip the arrow bounds out to avoid painting the overlapping edge area.
|
| canvas->Save();
|
| - canvas->ClipRect(arrow_bounds, kDifference_SkClipOp);
|
| + canvas->ClipRect(arrow_bounds, SkClipOp::kDifference);
|
| Painter::PaintPainterAt(canvas, images_->border_painter.get(), bounds);
|
| canvas->Restore();
|
|
|
| @@ -538,7 +538,7 @@ void BubbleBorder::PaintMd(const View& view, gfx::Canvas* canvas) {
|
| paint.setAntiAlias(true);
|
|
|
| SkRRect r_rect = GetClientRect(view);
|
| - canvas->sk_canvas()->clipRRect(r_rect, kDifference_SkClipOp,
|
| + canvas->sk_canvas()->clipRRect(r_rect, SkClipOp::kDifference,
|
| true /*doAntiAlias*/);
|
|
|
| // The border is drawn outside the content area.
|
| @@ -550,7 +550,7 @@ void BubbleBorder::PaintMd(const View& view, gfx::Canvas* canvas) {
|
|
|
| void BubbleBorder::PaintNoAssets(const View& view, gfx::Canvas* canvas) {
|
| gfx::ScopedCanvas scoped(canvas);
|
| - canvas->sk_canvas()->clipRRect(GetClientRect(view), kDifference_SkClipOp,
|
| + canvas->sk_canvas()->clipRRect(GetClientRect(view), SkClipOp::kDifference,
|
| true /*doAntiAlias*/);
|
| canvas->sk_canvas()->drawColor(SK_ColorTRANSPARENT, SkBlendMode::kSrc);
|
| }
|
|
|