diff options
author | Ben Wagner <bungeman@google.com> | 2017-10-09 15:45:33 -0400 |
---|---|---|
committer | Skia Commit-Bot <skia-commit-bot@chromium.org> | 2017-10-09 21:20:34 +0000 |
commit | 63fd760a37905c45d26fc3d49cac261fad1b4808 (patch) | |
tree | 279aa7293ea1773ac60230790868fe0e1fc725b0 /bench/HardStopGradientBench_ScaleNumHardStops.cpp | |
parent | a49909aa24a370d6dff98d300d0c42ff8cd2c623 (diff) |
Remove trailing whitespace.
Also adds a presubmit to prevent adding trailing whitespace to source
code in the future.
Change-Id: I41a4df81487f6f00aa19b188f0cac6a3377efde6
Reviewed-on: https://skia-review.googlesource.com/57380
Reviewed-by: Ravi Mistry <rmistry@google.com>
Reviewed-by: Mike Reed <reed@google.com>
Commit-Queue: Ben Wagner <bungeman@google.com>
Diffstat (limited to 'bench/HardStopGradientBench_ScaleNumHardStops.cpp')
-rw-r--r-- | bench/HardStopGradientBench_ScaleNumHardStops.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/bench/HardStopGradientBench_ScaleNumHardStops.cpp b/bench/HardStopGradientBench_ScaleNumHardStops.cpp index 2b8b55e67a..843bb725f2 100644 --- a/bench/HardStopGradientBench_ScaleNumHardStops.cpp +++ b/bench/HardStopGradientBench_ScaleNumHardStops.cpp @@ -19,7 +19,7 @@ public: HardStopGradientBench_ScaleNumHardStops(int colorCount, int hardStopCount) { SkASSERT(hardStopCount <= colorCount/2); - fName.printf("hardstop_scale_num_hard_stops_%03d_colors_%03d_hard_stops", + fName.printf("hardstop_scale_num_hard_stops_%03d_colors_%03d_hard_stops", colorCount, hardStopCount); fColorCount = colorCount; @@ -37,7 +37,7 @@ public: void onPreDraw(SkCanvas* canvas) override { // Left to right SkPoint points[2] = { - SkPoint::Make(0, kSize/2), + SkPoint::Make(0, kSize/2), SkPoint::Make(kSize-1, kSize/2), }; |