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

Unified Diff: chrome/browser/ui/views/infobars/infobar_background.cc

Issue 1800373002: [MD] replace infobar bottom solid line separator with a shadow. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 9 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
Index: chrome/browser/ui/views/infobars/infobar_background.cc
diff --git a/chrome/browser/ui/views/infobars/infobar_background.cc b/chrome/browser/ui/views/infobars/infobar_background.cc
index 7e9fe105f810af8ee28893f3064b0fc34bf69ece..617e8e8273ca061025eb3f0c9f9d5221d1c8446a 100644
--- a/chrome/browser/ui/views/infobars/infobar_background.cc
+++ b/chrome/browser/ui/views/infobars/infobar_background.cc
@@ -46,8 +46,8 @@ void InfoBarBackground::Paint(gfx::Canvas* canvas, views::View* view) const {
SkColorGetA(gradient_colors[0])));
paint.setStyle(SkPaint::kStroke_Style);
// Anti-alias the path so it doesn't look goofy when the edges are not at 45
- // degree angles, but don't anti-alias anything else, especially not the fill,
- // lest we get weird color bleeding problems.
+ // degree angles, but don't anti-alias anything else, especially not the
+ // fill, lest we get weird color bleeding problems.
paint.setAntiAlias(true);
canvas_skia->drawPath(infobar->stroke_path(), paint);
paint.setAntiAlias(false);

Powered by Google App Engine
This is Rietveld 408576698