diff options
Diffstat (limited to 'gm/ninepatchstretch.cpp')
-rw-r--r-- | gm/ninepatchstretch.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gm/ninepatchstretch.cpp b/gm/ninepatchstretch.cpp index 4c6e7d2742..90a02161ef 100644 --- a/gm/ninepatchstretch.cpp +++ b/gm/ninepatchstretch.cpp @@ -78,7 +78,7 @@ protected: // amount of bm that should not be stretched (unless we have to) const SkScalar fixed = SkIntToScalar(fBitmap.width() - fCenter.width()); - const SkTSize<SkScalar> size[] = { + const SkSize size[] = { { fixed * 4 / 5, fixed * 4 / 5 }, // shrink in both axes { fixed * 4 / 5, fixed * 4 }, // shrink in X { fixed * 4, fixed * 4 / 5 }, // shrink in Y |