From ede860e91c2a0021266907885ea2c9b4be09e121 Mon Sep 17 00:00:00 2001 From: Brian Osman Date: Wed, 22 Nov 2017 16:36:07 -0500 Subject: Delete even more unused views code Bug: skia: Change-Id: I41480aa89dfcd8cb7e016e477cbabe354f35ce8a Reviewed-on: https://skia-review.googlesource.com/75480 Reviewed-by: Mike Reed Commit-Queue: Brian Osman --- samplecode/SampleAAGeometry.cpp | 10 ---------- 1 file changed, 10 deletions(-) (limited to 'samplecode/SampleAAGeometry.cpp') diff --git a/samplecode/SampleAAGeometry.cpp b/samplecode/SampleAAGeometry.cpp index 55aebda621..3d5426e637 100644 --- a/samplecode/SampleAAGeometry.cpp +++ b/samplecode/SampleAAGeometry.cpp @@ -883,7 +883,6 @@ public: bool constructPath() { construct_path(fPath); - this->inval(nullptr); return true; } @@ -909,7 +908,6 @@ public: PathUndo* next = fUndo->fNext; delete fUndo; fUndo = next; - this->inval(nullptr); return true; } @@ -932,7 +930,6 @@ public: bool hideAll() { fHideAll ^= true; - this->inval(nullptr); return true; } @@ -991,7 +988,6 @@ public: matrix.setScale(1.f / 1.5f, 1.f / 1.5f, bounds.centerX(), bounds.centerY()); fPath.transform(matrix); validatePath(); - this->inval(nullptr); return true; } @@ -1007,7 +1003,6 @@ public: SkScalar offsetY = (this->height() - bounds.height()) / 2 - bounds.fTop; fPath.offset(offsetX, offsetY); validatePath(); - this->inval(nullptr); return true; } @@ -1017,7 +1012,6 @@ public: matrix.setScale(1.5f, 1.5f, bounds.centerX(), bounds.centerY()); fPath.transform(matrix); validatePath(); - this->inval(nullptr); return true; } @@ -1038,7 +1032,6 @@ public: bool showLegend() { fShowLegend ^= true; - this->inval(nullptr); return true; } @@ -1670,7 +1663,6 @@ public: SkIntToScalar(click->fICurr.fY - click->fIPrev.fY)); set_path_pt(fActivePt, pt, &fPath); validatePath(); - this->inval(nullptr); return true; } case MyClick::kPathType: @@ -1678,7 +1670,6 @@ public: fPath.offset(SkIntToScalar(click->fICurr.fX - click->fIPrev.fX), SkIntToScalar(click->fICurr.fY - click->fIPrev.fY)); validatePath(); - this->inval(nullptr); return true; case MyClick::kVerbType: { fActiveVerb = myClick->verbHit(); @@ -1790,7 +1781,6 @@ public: break; } setControlButtonsPos(); - this->inval(nullptr); return true; } -- cgit v1.2.3