From 63fd760a37905c45d26fc3d49cac261fad1b4808 Mon Sep 17 00:00:00 2001 From: Ben Wagner Date: Mon, 9 Oct 2017 15:45:33 -0400 Subject: 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 Reviewed-by: Mike Reed Commit-Queue: Ben Wagner --- bench/HardStopGradientBench_SpecialHardStops.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'bench/HardStopGradientBench_SpecialHardStops.cpp') diff --git a/bench/HardStopGradientBench_SpecialHardStops.cpp b/bench/HardStopGradientBench_SpecialHardStops.cpp index 0a9e23e81b..e987901c67 100644 --- a/bench/HardStopGradientBench_SpecialHardStops.cpp +++ b/bench/HardStopGradientBench_SpecialHardStops.cpp @@ -84,7 +84,7 @@ public: }; SkScalar* positions = fKind == Kind::k001 ? pos_001 : - fKind == Kind::k011 ? pos_011 : + fKind == Kind::k011 ? pos_011 : pos_centered; int count = fKind == Kind::kCentered ? 4 : 3; @@ -109,7 +109,7 @@ private: int fW; int fH; Kind fKind; - SkPaint fPaint; + SkPaint fPaint; }; DEF_BENCH(return new HardStopGradientBench_SpecialHardStops(100, 100, Kind::k001);); -- cgit v1.2.3