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

Unified Diff: tests/BlurTest.cpp

Issue 85463005: remove SkFloatToScalar macro (Closed) Base URL: https://skia.googlecode.com/svn/trunk
Patch Set: add flag to expose SkFloatToScalar to chromium Created 7 years, 1 month 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 | « tests/AAClipTest.cpp ('k') | tests/ClipCubicTest.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/BlurTest.cpp
diff --git a/tests/BlurTest.cpp b/tests/BlurTest.cpp
index 9c40aa791c18087af2f922633376aac266cad2f2..a1eaca92b45827074c14a4454ff26b067febeda7 100644
--- a/tests/BlurTest.cpp
+++ b/tests/BlurTest.cpp
@@ -349,7 +349,7 @@ static void test_sigma_range(skiatest::Reporter* reporter, GrContextFactory* fac
int groundTruthResult[kSize];
int bruteForce1DResult[kSize];
- SkScalar sigma = SkFloatToScalar(10.0f);
+ SkScalar sigma = 10.0f;
for (int i = 0; i < 4; ++i, sigma /= 10) {
« no previous file with comments | « tests/AAClipTest.cpp ('k') | tests/ClipCubicTest.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698