commit | c2c80c42e269b34f3321bda9c315da5f6bfe9b77 | [log] [tgz] |
---|---|---|
author | digit@google.com <digit@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | Thu Feb 16 22:06:51 2012 +0000 |
committer | digit@google.com <digit@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | Thu Feb 16 22:06:51 2012 +0000 |
tree | fa76151121a332d2566ea01857b8e6bbba349e82 | |
parent | 9b482c4d3312e33f852407889bbb86980936824c [diff] [blame] |
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
diff --git a/src/core/SkTextFormatParams.h b/src/core/SkTextFormatParams.h index c2767f9..dac4aef 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,