From c2c80c42e269b34f3321bda9c315da5f6bfe9b77 Mon Sep 17 00:00:00 2001 From: "digit@google.com" Date: Thu, 16 Feb 2012 22:06:51 +0000 Subject: 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 --- src/core/SkTextFormatParams.h | 4 ++-- 1 file 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, -- cgit v1.2.3