diff options
| author | Brian Osman <brianosman@google.com> | 2017-11-22 16:36:07 -0500 |
|---|---|---|
| committer | Skia Commit-Bot <skia-commit-bot@chromium.org> | 2017-11-29 18:12:35 +0000 |
| commit | ede860e91c2a0021266907885ea2c9b4be09e121 (patch) | |
| tree | 65e11fcdab6d13d133fc881f38d3efda85402d92 /samplecode/SamplePath.cpp | |
| parent | 3f67914c01f32fe61fd0af5022ebfd4e19d68f0e (diff) | |
Delete even more unused views code
Bug: skia:
Change-Id: I41480aa89dfcd8cb7e016e477cbabe354f35ce8a
Reviewed-on: https://skia-review.googlesource.com/75480
Reviewed-by: Mike Reed <reed@google.com>
Commit-Queue: Brian Osman <brianosman@google.com>
Diffstat (limited to 'samplecode/SamplePath.cpp')
| -rw-r--r-- | samplecode/SamplePath.cpp | 10 |
1 files changed, 2 insertions, 8 deletions
diff --git a/samplecode/SamplePath.cpp b/samplecode/SamplePath.cpp index ec92fdfc1a..dceb925ca0 100644 --- a/samplecode/SamplePath.cpp +++ b/samplecode/SamplePath.cpp @@ -197,7 +197,6 @@ protected: SkView::Click* onFindClickHandler(SkScalar x, SkScalar y, unsigned modi) override { fShowHairline = !fShowHairline; - this->inval(nullptr); return this->INHERITED::onFindClickHandler(x, y, modi); } @@ -248,7 +247,6 @@ public: void toggle(bool& value) { value = !value; - this->inval(nullptr); } protected: @@ -298,7 +296,6 @@ protected: if (click->fMeta.findS32("index", &index)) { SkASSERT((unsigned)index < N); fPts[index] = click->fCurr; - this->inval(nullptr); return true; } return false; @@ -364,12 +361,10 @@ public: void toggle(bool& value) { value = !value; - this->inval(nullptr); } void toggle3(int& value) { value = (value + 1) % 3; - this->inval(nullptr); } protected: @@ -388,8 +383,8 @@ protected: case '4': this->toggle3(fJoinType); return true; case '5': this->toggle3(fCapType); return true; case '6': this->toggle(fClosed); return true; - case '-': fWidth -= 5; this->inval(nullptr); return true; - case '=': fWidth += 5; this->inval(nullptr); return true; + case '-': fWidth -= 5; return true; + case '=': fWidth += 5; return true; default: break; } } @@ -435,7 +430,6 @@ protected: if (click->fMeta.findS32("index", &index)) { SkASSERT((unsigned)index < N); fPts[index] = click->fCurr; - this->inval(nullptr); return true; } return false; |
