aboutsummaryrefslogtreecommitdiffhomepage
path: root/gm/complexclip.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'gm/complexclip.cpp')
-rw-r--r--gm/complexclip.cpp8
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;