| Index: chrome/browser/profiles/profile_avatar_icon_util.cc
|
| diff --git a/chrome/browser/profiles/profile_avatar_icon_util.cc b/chrome/browser/profiles/profile_avatar_icon_util.cc
|
| index 146bd75a0882246e186aa4bc6a60d1bfa83fca39..acfb60f65268a8c86950e643edc50f3ca7e7faf6 100644
|
| --- a/chrome/browser/profiles/profile_avatar_icon_util.cc
|
| +++ b/chrome/browser/profiles/profile_avatar_icon_util.cc
|
| @@ -21,6 +21,7 @@
|
| #include "chrome/grit/generated_resources.h"
|
| #include "chrome/grit/theme_resources.h"
|
| #include "skia/ext/image_operations.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/core/SkScalar.h"
|
| @@ -188,9 +189,9 @@ void AvatarImageSource::Draw(gfx::Canvas* canvas) {
|
| SkFloatToScalar(x + border_size - 0.5f), // right
|
| SkFloatToScalar(y + border_size - 0.5f)); // bottom
|
|
|
| - SkPaint paint;
|
| + CdlPaint paint;
|
| paint.setColor(border_color);
|
| - paint.setStyle(SkPaint::kStroke_Style);
|
| + paint.setStyle(CdlPaint::kStroke_Style);
|
| paint.setStrokeWidth(SkIntToScalar(1));
|
|
|
| canvas->DrawPath(path, paint);
|
| @@ -200,8 +201,8 @@ void AvatarImageSource::Draw(gfx::Canvas* canvas) {
|
| SkColor shadow_color = SkColorSetARGB(83, 0, 0, 0);
|
| SkColor highlight_color = SkColorSetARGB(96, 255, 255, 255);
|
|
|
| - SkPaint paint;
|
| - paint.setStyle(SkPaint::kStroke_Style);
|
| + CdlPaint paint;
|
| + paint.setStyle(CdlPaint::kStroke_Style);
|
| paint.setStrokeWidth(SkIntToScalar(1));
|
|
|
| SkPath path;
|
|
|