From d4998178ae6e0df3a90b9c1fa063cc97605f26af Mon Sep 17 00:00:00 2001 From: Hal Canary Date: Wed, 11 Jul 2018 11:31:34 -0400 Subject: Whitespace Fixup Change-Id: I6c4c4b43dfa6b59832c63f8fcf43192b4973d88b Reviewed-on: https://skia-review.googlesource.com/140565 Commit-Queue: Mike Klein Auto-Submit: Hal Canary Reviewed-by: Mike Klein --- bench/ShadowBench.cpp | 0 gm/fontscalerdistortable.cpp | 2 +- samplecode/SamplePath.cpp | 2 +- samplecode/SampleShadowColor.cpp | 0 samplecode/SampleShadowReference.cpp | 0 samplecode/SampleShadowUtils.cpp | 0 src/core/SkDrawShadowInfo.cpp | 0 src/pathops/SkPathOpsDebug.cpp | 2 +- src/ports/SkScalerContext_win_dw.h | 4 ++-- src/utils/SkPolyUtils.cpp | 0 src/utils/SkPolyUtils.h | 0 src/utils/SkShadowTessellator.cpp | 0 tests/PathOpsConicQuadIntersectionTest.cpp | 10 +++++----- tests/PathOpsCubicConicIntersectionTest.cpp | 14 +++++++------- tests/TransferPixelsTest.cpp | 0 15 files changed, 17 insertions(+), 17 deletions(-) mode change 100755 => 100644 bench/ShadowBench.cpp mode change 100755 => 100644 samplecode/SampleShadowColor.cpp mode change 100755 => 100644 samplecode/SampleShadowReference.cpp mode change 100755 => 100644 samplecode/SampleShadowUtils.cpp mode change 100755 => 100644 src/core/SkDrawShadowInfo.cpp mode change 100755 => 100644 src/utils/SkPolyUtils.cpp mode change 100755 => 100644 src/utils/SkPolyUtils.h mode change 100755 => 100644 src/utils/SkShadowTessellator.cpp mode change 100755 => 100644 tests/TransferPixelsTest.cpp diff --git a/bench/ShadowBench.cpp b/bench/ShadowBench.cpp old mode 100755 new mode 100644 diff --git a/gm/fontscalerdistortable.cpp b/gm/fontscalerdistortable.cpp index 5778ce0200..432fca843d 100644 --- a/gm/fontscalerdistortable.cpp +++ b/gm/fontscalerdistortable.cpp @@ -37,7 +37,7 @@ protected: std::unique_ptr distortableStream(GetResourceAsStream("fonts/Distortable.ttf")); sk_sp distortable(MakeResourceAsTypeface("fonts/Distortable.ttf")); - + if (!distortableStream) { return; } diff --git a/samplecode/SamplePath.cpp b/samplecode/SamplePath.cpp index 7480604ca5..52d5d64aaa 100644 --- a/samplecode/SamplePath.cpp +++ b/samplecode/SamplePath.cpp @@ -663,7 +663,7 @@ protected: canvas->drawCircle(storage[i].fX, storage[i].fY, 4, paint); } } - + void showFlattness(SkCanvas* canvas) { SkPaint paint; paint.setStyle(SkPaint::kStroke_Style); diff --git a/samplecode/SampleShadowColor.cpp b/samplecode/SampleShadowColor.cpp old mode 100755 new mode 100644 diff --git a/samplecode/SampleShadowReference.cpp b/samplecode/SampleShadowReference.cpp old mode 100755 new mode 100644 diff --git a/samplecode/SampleShadowUtils.cpp b/samplecode/SampleShadowUtils.cpp old mode 100755 new mode 100644 diff --git a/src/core/SkDrawShadowInfo.cpp b/src/core/SkDrawShadowInfo.cpp old mode 100755 new mode 100644 diff --git a/src/pathops/SkPathOpsDebug.cpp b/src/pathops/SkPathOpsDebug.cpp index bfef403f7c..45314dea72 100644 --- a/src/pathops/SkPathOpsDebug.cpp +++ b/src/pathops/SkPathOpsDebug.cpp @@ -63,7 +63,7 @@ bool SkPathOpsDebug::ChaseContains(const SkTDArray& chaseArray, return false; } #endif - + #if DEBUG_ACTIVE_SPANS SkString SkPathOpsDebug::gActiveSpans; #endif diff --git a/src/ports/SkScalerContext_win_dw.h b/src/ports/SkScalerContext_win_dw.h index d5a217d5b4..aa36194aa5 100644 --- a/src/ports/SkScalerContext_win_dw.h +++ b/src/ports/SkScalerContext_win_dw.h @@ -52,9 +52,9 @@ private: } bool getColorGlyphRun(const SkGlyph& glyph, IDWriteColorGlyphRunEnumerator** colorGlyph); - + void generateColorMetrics(SkGlyph* glyph); - + void generateColorGlyphImage(const SkGlyph& glyph); SkTDArray fBits; diff --git a/src/utils/SkPolyUtils.cpp b/src/utils/SkPolyUtils.cpp old mode 100755 new mode 100644 diff --git a/src/utils/SkPolyUtils.h b/src/utils/SkPolyUtils.h old mode 100755 new mode 100644 diff --git a/src/utils/SkShadowTessellator.cpp b/src/utils/SkShadowTessellator.cpp old mode 100755 new mode 100644 diff --git a/tests/PathOpsConicQuadIntersectionTest.cpp b/tests/PathOpsConicQuadIntersectionTest.cpp index bdf1d42d37..8f47e76bd9 100644 --- a/tests/PathOpsConicQuadIntersectionTest.cpp +++ b/tests/PathOpsConicQuadIntersectionTest.cpp @@ -15,11 +15,11 @@ static struct conicQuad { ConicPts conic; QuadPts quad; } conicQuadTests[] = { - {{{{{0.00000000000000000, -1.8135968446731567 }, - {0.00000000000000000, -1.0033817291259766 }, - {-0.0073835160583257675, 0.00000000000000000 }}}, 2.26585215e+11f}, - {{{0.00000000000000000, -1.0000113248825073 }, - {-2.4824290449032560e-05, -1.0000115633010864 }, + {{{{{0.00000000000000000, -1.8135968446731567 }, + {0.00000000000000000, -1.0033817291259766 }, + {-0.0073835160583257675, 0.00000000000000000 }}}, 2.26585215e+11f}, + {{{0.00000000000000000, -1.0000113248825073 }, + {-2.4824290449032560e-05, -1.0000115633010864 }, {-0.0073835160583257675, 0.00000000000000000 }}}}, {{{{{494.348663,224.583771}, {494.365143,224.633194}, {494.376404,224.684067}}}, 0.998645842f}, diff --git a/tests/PathOpsCubicConicIntersectionTest.cpp b/tests/PathOpsCubicConicIntersectionTest.cpp index ff4dec9864..aa8a9d8599 100644 --- a/tests/PathOpsCubicConicIntersectionTest.cpp +++ b/tests/PathOpsCubicConicIntersectionTest.cpp @@ -20,14 +20,14 @@ static struct cubicConic { // SkOPASSERT(oppStartT < oppEndT); // Throwing an error here breaks one test, but only in release. // More work to be done to figure this out. - {{{{2.1883804947719909e-05, 3.6366123822517693e-05 }, - {2.9145950975362211e-05, 2.9117207304807380e-05 }, - {2.9113532946212217e-05, 2.9173743314458989e-05 }, - {0.00000000000000000, 5.8282588724978268e-05 }}}, - {{{{0.00000000000000000, 5.8282581449020654e-05 }, - {0.00000000000000000, 5.8282563259126619e-05 }, + {{{{2.1883804947719909e-05, 3.6366123822517693e-05 }, + {2.9145950975362211e-05, 2.9117207304807380e-05 }, + {2.9113532946212217e-05, 2.9173743314458989e-05 }, + {0.00000000000000000, 5.8282588724978268e-05 }}}, + {{{{0.00000000000000000, 5.8282581449020654e-05 }, + {0.00000000000000000, 5.8282563259126619e-05 }, {5.8282588724978268e-05, 0.00000000000000000 }}}, 53684.6563f}}, -#endif +#endif {{{{188.60000610351562, 2041.5999755859375}, {188.60000610351562, 2065.39990234375}, {208, 2084.800048828125}, {231.80000305175781, 2084.800048828125}}}, diff --git a/tests/TransferPixelsTest.cpp b/tests/TransferPixelsTest.cpp old mode 100755 new mode 100644 -- cgit v1.2.3