diff options
author | commit-bot@chromium.org <commit-bot@chromium.org@2bbb7eff-a529-9590-31e7-b0007b416f81> | 2013-11-25 19:44:07 +0000 |
---|---|---|
committer | commit-bot@chromium.org <commit-bot@chromium.org@2bbb7eff-a529-9590-31e7-b0007b416f81> | 2013-11-25 19:44:07 +0000 |
commit | 4b413c8bb123e42ca4b9c7bfa6bc2167283cb84c (patch) | |
tree | dae12c217068df2844c0ce18fb2c62311ae8c5e9 /gm/complexclip.cpp | |
parent | 2a1f4464d150d2dc8c3fe2f39e9fb3503b7f4f54 (diff) |
remove SkFloatToScalar macro
BUG=
R=reed@google.com, djsollen@google.com
Author: caryclark@google.com
Review URL: https://codereview.chromium.org/85463005
git-svn-id: http://skia.googlecode.com/svn/trunk@12385 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'gm/complexclip.cpp')
-rw-r--r-- | gm/complexclip.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/gm/complexclip.cpp b/gm/complexclip.cpp index 86386b3d49..8ff1dfafd9 100644 --- a/gm/complexclip.cpp +++ b/gm/complexclip.cpp @@ -100,10 +100,10 @@ protected: // device boundaries so we need to "undo" the effect of the // scale and translate SkRect bounds = SkRect::MakeLTRB( - SkFloatToScalar(4.0f/3.0f * -20), - SkFloatToScalar(4.0f/3.0f * -20), - SkFloatToScalar(4.0f/3.0f * (this->getISize().fWidth - 20)), - SkFloatToScalar(4.0f/3.0f * (this->getISize().fHeight - 20))); + 4.0f/3.0f * -20, + 4.0f/3.0f * -20, + 4.0f/3.0f * (this->getISize().fWidth - 20), + 4.0f/3.0f * (this->getISize().fHeight - 20)); bounds.inset(SkIntToScalar(100), SkIntToScalar(100)); SkPaint boundPaint; |