Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(225)

Unified Diff: src/core/SkPathMeasure.cpp

Issue 1842753002: Style bikeshed - remove extraneous whitespace (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 4 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « src/core/SkPath.cpp ('k') | src/core/SkPathPriv.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/core/SkPathMeasure.cpp
diff --git a/src/core/SkPathMeasure.cpp b/src/core/SkPathMeasure.cpp
index c0d97924cb1a69f2f4b754ad9945a634071e5dbf..5ca5ebd1435326c02b6a9160dbe2d5b14ce4fe01 100644
--- a/src/core/SkPathMeasure.cpp
+++ b/src/core/SkPathMeasure.cpp
@@ -1,4 +1,3 @@
-
/*
* Copyright 2008 The Android Open Source Project
*
@@ -527,12 +526,12 @@ int SkTKSearch(const T base[], int count, const K& key) {
if (count <= 0) {
return ~0;
}
-
+
SkASSERT(base != nullptr); // base may be nullptr if count is zero
-
+
int lo = 0;
int hi = count - 1;
-
+
while (lo < hi) {
int mid = (hi + lo) >> 1;
if (base[mid].fDistance < key) {
@@ -541,7 +540,7 @@ int SkTKSearch(const T base[], int count, const K& key) {
hi = mid;
}
}
-
+
if (base[hi].fDistance < key) {
hi += 1;
hi = ~hi;
« no previous file with comments | « src/core/SkPath.cpp ('k') | src/core/SkPathPriv.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698