| Index: chrome/browser/ui/views/status_bubble_views.cc
|
| diff --git a/chrome/browser/ui/views/status_bubble_views.cc b/chrome/browser/ui/views/status_bubble_views.cc
|
| index 42eb70ec613bcdb2fbeb7d349fcbc426da79fff6..d968fcd548b0e0137b34eaf3855e6b60ca9748e5 100644
|
| --- a/chrome/browser/ui/views/status_bubble_views.cc
|
| +++ b/chrome/browser/ui/views/status_bubble_views.cc
|
| @@ -18,6 +18,7 @@
|
| #include "chrome/browser/themes/theme_properties.h"
|
| #include "components/url_formatter/elide_url.h"
|
| #include "components/url_formatter/url_formatter.h"
|
| +#include "skia/ext/cdl_paint.h"
|
| #include "third_party/skia/include/core/SkPaint.h"
|
| #include "third_party/skia/include/core/SkPath.h"
|
| #include "third_party/skia/include/pathops/SkPathOps.h"
|
| @@ -455,18 +456,18 @@ void StatusBubbleViews::StatusView::OnPaint(gfx::Canvas* canvas) {
|
| SkPath path;
|
| path.addRoundRect(gfx::RectFToSkRect(bubble_rect), rad);
|
|
|
| - SkPaint paint;
|
| - paint.setStyle(SkPaint::kStroke_Style);
|
| + CdlPaint paint;
|
| + paint.setStyle(CdlPaint::kStroke_Style);
|
| paint.setStrokeWidth(1);
|
| paint.setAntiAlias(true);
|
|
|
| SkPath stroke_path;
|
| - paint.getFillPath(path, &stroke_path);
|
| + ToSkPaint(paint).getFillPath(path, &stroke_path);
|
|
|
| // Get the fill path by subtracting the shadow so they align neatly.
|
| SkPath fill_path;
|
| Op(path, stroke_path, kDifference_SkPathOp, &fill_path);
|
| - paint.setStyle(SkPaint::kFill_Style);
|
| + paint.setStyle(CdlPaint::kFill_Style);
|
| const SkColor bubble_color =
|
| theme_provider_->GetColor(ThemeProperties::COLOR_TOOLBAR);
|
| paint.setColor(bubble_color);
|
|
|