deprecate SkScalarRound (and its ilk), use SkScalarRound[ToInt,ToScalar]. #define SK_SUPPORT_DEPRECATED_SCALARROUND for legacy clients
BUG=
R=robertphillips@google.com
Review URL: https://codereview.chromium.org/111353003
git-svn-id: http://skia.googlecode.com/svn/trunk@12719 2bbb7eff-a529-9590-31e7-b0007b416f81
diff --git a/tools/skhello.cpp b/tools/skhello.cpp
index 93dad56..55748d2 100644
--- a/tools/skhello.cpp
+++ b/tools/skhello.cpp
@@ -81,8 +81,8 @@
SkScalar width = paint.measureText(text.c_str(), text.size());
SkScalar spacing = paint.getFontSpacing();
- int w = SkScalarRound(width) + 30;
- int h = SkScalarRound(spacing) + 30;
+ int w = SkScalarRoundToInt(width) + 30;
+ int h = SkScalarRoundToInt(spacing) + 30;
static const struct {
bool (*fProc)(int w, int h, const char path[], const char text[],