aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/core/SkTextFormatParams.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/SkTextFormatParams.h')
-rw-r--r--src/core/SkTextFormatParams.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/SkTextFormatParams.h b/src/core/SkTextFormatParams.h
index c2767f94cb..dac4aefd62 100644
--- a/src/core/SkTextFormatParams.h
+++ b/src/core/SkTextFormatParams.h
@@ -25,8 +25,8 @@
// At 36 points and above, it is increased by text size / 32. In between,
// it is interpolated between those values.
static const SkScalar kStdFakeBoldInterpKeys[] = {
- SkIntToScalar(9),
- SkIntToScalar(36)
+ SK_Scalar1*9,
+ SK_Scalar1*36,
};
static const SkScalar kStdFakeBoldInterpValues[] = {
SK_Scalar1/24,