summaryrefslogtreecommitdiffstats
path: root/ui/views/painter.cc
diff options
context:
space:
mode:
Diffstat (limited to 'ui/views/painter.cc')
-rw-r--r--ui/views/painter.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/ui/views/painter.cc b/ui/views/painter.cc
index d445c15..ed0e65f 100644
--- a/ui/views/painter.cc
+++ b/ui/views/painter.cc
@@ -151,7 +151,7 @@ void GradientPainter::Paint(gfx::Canvas* canvas, const gfx::Size& size) {
p[1].iset(0, size.height());
skia::RefPtr<SkShader> s = skia::AdoptRef(SkGradientShader::CreateLinear(
- p, colors_.get(), pos_.get(), count_, SkShader::kClamp_TileMode, NULL));
+ p, colors_.get(), pos_.get(), count_, SkShader::kClamp_TileMode));
paint.setStyle(SkPaint::kFill_Style);
paint.setShader(s.get());