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

Unified Diff: src/gpu/effects/GrDashingEffect.cpp

Issue 291803004: Fix build error for windows for Dashing CL (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 6 years, 7 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 | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/gpu/effects/GrDashingEffect.cpp
diff --git a/src/gpu/effects/GrDashingEffect.cpp b/src/gpu/effects/GrDashingEffect.cpp
index 8a7ce013c12718f58020fbb0a682b1986f3b57a5..44974e8791f5cdbf7307e2bf87a2340922f17b31 100644
--- a/src/gpu/effects/GrDashingEffect.cpp
+++ b/src/gpu/effects/GrDashingEffect.cpp
@@ -79,7 +79,7 @@ static SkScalar calc_end_adjustment(const SkPathEffect::DashInfo& info, const Sk
}
if (*endingInt > info.fIntervals[0]) {
if (0 == info.fIntervals[0]) {
- *endingInt -= 0.01; // make sure we capture the last zero size pnt (used if has caps)
+ *endingInt -= 0.01f; // make sure we capture the last zero size pnt (used if has caps)
}
return *endingInt - info.fIntervals[0];
}
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698