diff options
author | digit@google.com <digit@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | 2012-02-16 22:06:51 +0000 |
---|---|---|
committer | digit@google.com <digit@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | 2012-02-16 22:06:51 +0000 |
commit | c2c80c42e269b34f3321bda9c315da5f6bfe9b77 (patch) | |
tree | fa76151121a332d2566ea01857b8e6bbba349e82 /src | |
parent | 9b482c4d3312e33f852407889bbb86980936824c (diff) |
Remove two static initializers from debug builds
Review URL: https://codereview.appspot.com/5622046
git-svn-id: http://skia.googlecode.com/svn/trunk@3215 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'src')
-rw-r--r-- | src/core/SkTextFormatParams.h | 4 |
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, |