aboutsummaryrefslogtreecommitdiffhomepage
path: root/gm/gradtext.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'gm/gradtext.cpp')
-rw-r--r--gm/gradtext.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/gm/gradtext.cpp b/gm/gradtext.cpp
index f26222af0b..d080e3e9c1 100644
--- a/gm/gradtext.cpp
+++ b/gm/gradtext.cpp
@@ -47,7 +47,6 @@ protected:
virtual SkISize onISize() { return make_isize(500, 480); }
virtual void onDraw(SkCanvas* canvas) {
SkPaint paint;
- const SkISize& size = this->getISize();
SkRect r = SkRect::MakeWH(SkIntToScalar(100), SkIntToScalar(100));
canvas->clipRect(r);
@@ -76,7 +75,6 @@ protected:
virtual SkISize onISize() { return make_isize(500, 480); }
virtual void onDraw(SkCanvas* canvas) {
SkPaint paint;
- const SkISize& size = this->getISize();
SkRect r = SkRect::MakeWH(SkIntToScalar(100), SkIntToScalar(100));