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

Unified Diff: ui/views/border.cc

Issue 2523673004: [NOT FOR COMMIT] Fully replace SkCanvas uses.
Patch Set: Support Android build. Created 4 years 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/animation/ink_drop_painted_layer_delegates.cc ('k') | ui/views/bubble/bubble_border.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/views/border.cc
diff --git a/ui/views/border.cc b/ui/views/border.cc
index 6baf545b809e2361d4c07ddfb17a6c523c8bd55e..7e65f608756629303e3089a8e6110a31b3949fa9 100644
--- a/ui/views/border.cc
+++ b/ui/views/border.cc
@@ -88,10 +88,10 @@ RoundedRectBorder::RoundedRectBorder(int thickness,
: thickness_(thickness), corner_radius_(corner_radius), color_(color) {}
void RoundedRectBorder::Paint(const View& view, gfx::Canvas* canvas) {
- SkPaint paint;
+ CdlPaint paint;
paint.setStrokeWidth(thickness_);
paint.setColor(color_);
- paint.setStyle(SkPaint::kStroke_Style);
+ paint.setStyle(CdlPaint::kStroke_Style);
paint.setAntiAlias(true);
float half_thickness = thickness_ / 2.0f;
« no previous file with comments | « ui/views/animation/ink_drop_painted_layer_delegates.cc ('k') | ui/views/bubble/bubble_border.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698