Index: samplecode/SampleLines.cpp |
diff --git a/samplecode/SampleLines.cpp b/samplecode/SampleLines.cpp |
index df35e8681f12d11f51c328a75b15b09f75932bcf..d8304d17c915e62fd2d8d289da7b439482483ea1 100644 |
--- a/samplecode/SampleLines.cpp |
+++ b/samplecode/SampleLines.cpp |
@@ -99,7 +99,7 @@ protected: |
} |
virtual SkView::Click* onFindClickHandler(SkScalar x, SkScalar y, unsigned) SK_OVERRIDE { |
- fAlpha = SkScalarRound(y); |
+ fAlpha = SkScalarRoundToInt(y); |
this->inval(NULL); |
return NULL; |
} |