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

Unified Diff: samplecode/SampleEffects.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 | « samplecode/SampleDither.cpp ('k') | samplecode/SampleFilter2.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: samplecode/SampleEffects.cpp
diff --git a/samplecode/SampleEffects.cpp b/samplecode/SampleEffects.cpp
index a65b10b71f88b37e956862735f0b25c8c7824652..cbefae86083b1cfbaeb9b47678da55be46210397 100644
--- a/samplecode/SampleEffects.cpp
+++ b/samplecode/SampleEffects.cpp
@@ -33,8 +33,8 @@ static void paint_proc2(SkPaint* paint) {
paint->setMaskFilter(
SkBlurMaskFilter::CreateEmboss(SkBlurMask::ConvertRadiusToSigma(SkIntToScalar(1)),
dir,
- SkFloatToScalar(0.1f),
- SkFloatToScalar(0.05f)))->unref();
+ 0.1f,
+ 0.05f))->unref();
}
static void paint_proc3(SkPaint* paint) {
« no previous file with comments | « samplecode/SampleDither.cpp ('k') | samplecode/SampleFilter2.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698