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

Unified Diff: tests/AAClipTest.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 | « src/views/SkTouchGesture.cpp ('k') | tests/BlurTest.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/AAClipTest.cpp
diff --git a/tests/AAClipTest.cpp b/tests/AAClipTest.cpp
index f70cfd679ff669fe0fb9924fc79b4d63192e7ae3..6c681913eb5359e6031ce4e2b0e738656fd04cc6 100644
--- a/tests/AAClipTest.cpp
+++ b/tests/AAClipTest.cpp
@@ -386,10 +386,10 @@ static void test_regressions() {
{
SkAAClip clip;
SkRect r;
- r.fLeft = SkFloatToScalar(129.892181f);
- r.fTop = SkFloatToScalar(10.3999996f);
- r.fRight = SkFloatToScalar(130.892181f);
- r.fBottom = SkFloatToScalar(20.3999996f);
+ r.fLeft = 129.892181f;
+ r.fTop = 10.3999996f;
+ r.fRight = 130.892181f;
+ r.fBottom = 20.3999996f;
clip.setRect(r, true);
}
}
« no previous file with comments | « src/views/SkTouchGesture.cpp ('k') | tests/BlurTest.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698