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

Unified Diff: src/effects/gradients/SkClampRange.cpp

Issue 811753003: Enable new gradients + suppress gms for now (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: update ignore tests Created 6 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 | « src/effects/gradients/SkClampRange.h ('k') | tests/ClampRangeTest.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/effects/gradients/SkClampRange.cpp
diff --git a/src/effects/gradients/SkClampRange.cpp b/src/effects/gradients/SkClampRange.cpp
index cf302cd2a98068cec493c46f052173ad640fd09d..6f46923704be418980efb022e24713a7e2ec2e6d 100644
--- a/src/effects/gradients/SkClampRange.cpp
+++ b/src/effects/gradients/SkClampRange.cpp
@@ -163,7 +163,7 @@ void SkClampRange::init(SkGradFixed fx0, SkGradFixed dx0, int count, int v0, int
}
if (fCount1 > 0) {
- fFx1 = fx0 + fCount0 * (int)dx;
+ fFx1 = fx0 + fCount0 * dx;
}
if (dx > 0) {
« no previous file with comments | « src/effects/gradients/SkClampRange.h ('k') | tests/ClampRangeTest.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698