diff options
Diffstat (limited to 'cc/stubs/skia_utils.h')
-rw-r--r-- | cc/stubs/skia_utils.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cc/stubs/skia_utils.h b/cc/stubs/skia_utils.h index fb81f3e..d7b1fbf 100644 --- a/cc/stubs/skia_utils.h +++ b/cc/stubs/skia_utils.h @@ -7,7 +7,7 @@ namespace cc { -inline SkScalar CCFloatToSkScalar(float f) +inline SkScalar FloatToSkScalar(float f) { return SkFloatToScalar(isfinite(f) ? f : 0); } |