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

Unified Diff: gm/reveal.cpp

Issue 2344963002: Fix color bug in SkRRectsGaussianEdgeShader (Closed)
Patch Set: Fix Created 4 years, 3 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 | « no previous file | include/effects/SkRRectsGaussianEdgeShader.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: gm/reveal.cpp
diff --git a/gm/reveal.cpp b/gm/reveal.cpp
index ed54f91c653f4052f60f51b59d3c8a25ae5971c6..accded5d6e9845fa29bbaf7f195b9b3c4b6b8634 100644
--- a/gm/reveal.cpp
+++ b/gm/reveal.cpp
@@ -381,8 +381,7 @@ protected:
SkRRect clipRR, drawnRR;
if (clipObj->asRRect(&clipRR) && drawObj->asRRect(&drawnRR)) {
- paint.setShader(SkRRectsGaussianEdgeShader::Make(clipRR, drawnRR,
- kPad, 0.0f));
+ paint.setShader(SkRRectsGaussianEdgeShader::Make(clipRR, drawnRR, kPad));
jvanverth1 2016/09/15 19:52:09 Can this be named something other than kPad? It's
robertphillips 2016/09/15 19:53:20 Done.
robertphillips 2016/09/15 19:53:20 Done.
}
canvas->drawRect(cover, paint);
« no previous file with comments | « no previous file | include/effects/SkRRectsGaussianEdgeShader.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698