Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(312)

Unified Diff: ui/views/controls/focusable_border.cc

Issue 2640983002: Rename paint data structures (Closed)
Patch Set: DrawingDisplayItem Created 3 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « ui/views/controls/focus_ring.cc ('k') | ui/views/controls/focusable_rounded_border_mac.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/views/controls/focusable_border.cc
diff --git a/ui/views/controls/focusable_border.cc b/ui/views/controls/focusable_border.cc
index 225dfb9d2f649b39b5c0f034507de1c3bf59f628..09d456dfd1ef0da3648b570eedb71822ad32dbf2 100644
--- a/ui/views/controls/focusable_border.cc
+++ b/ui/views/controls/focusable_border.cc
@@ -4,7 +4,7 @@
#include "ui/views/controls/focusable_border.h"
-#include "third_party/skia/include/core/SkPaint.h"
+#include "cc/paint/paint_flags.h"
#include "third_party/skia/include/core/SkPath.h"
#include "ui/base/material_design/material_design_controller.h"
#include "ui/gfx/canvas.h"
@@ -39,8 +39,8 @@ void FocusableBorder::Paint(const View& view, gfx::Canvas* canvas) {
if (ui::MaterialDesignController::IsSecondaryUiMaterial() && view.HasFocus())
return;
- SkPaint paint;
- paint.setStyle(SkPaint::kStroke_Style);
+ cc::PaintFlags paint;
+ paint.setStyle(cc::PaintFlags::kStroke_Style);
paint.setColor(GetCurrentColor(view));
if (ui::MaterialDesignController::IsSecondaryUiMaterial()) {
« no previous file with comments | « ui/views/controls/focus_ring.cc ('k') | ui/views/controls/focusable_rounded_border_mac.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698