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

Unified Diff: ui/gfx/skia_util.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: ui/gfx/skia_util.cc
diff --git a/ui/gfx/skia_util.cc b/ui/gfx/skia_util.cc
index a971c9f22ecbe483a13e07a509fd13bca8aa469d..7d554696ad4cdba237a609da569d689ef8f5fc03 100644
--- a/ui/gfx/skia_util.cc
+++ b/ui/gfx/skia_util.cc
@@ -130,7 +130,7 @@ skia::RefPtr<SkShader> CreateGradientShader(int start_point,
grad_points[1].iset(0, end_point);
return skia::AdoptRef(SkGradientShader::CreateLinear(
- grad_points, grad_colors, NULL, 2, SkShader::kRepeat_TileMode));
Evan Stade 2016/03/16 00:54:01 this utility function is only used in a couple pla
+ grad_points, grad_colors, NULL, 2, SkShader::kClamp_TileMode));
}
static SkScalar RadiusToSigma(double radius) {

Powered by Google App Engine
This is Rietveld 408576698