Result of running tools/sanitize_source_files.py (which was added in https://codereview.appspot.com/6465078/)
This CL is part I of IV (I broke down the 1280 files into 4 CLs).
Review URL: https://codereview.appspot.com/6485054
git-svn-id: http://skia.googlecode.com/svn/trunk@5262 2bbb7eff-a529-9590-31e7-b0007b416f81
diff --git a/src/core/SkColor.cpp b/src/core/SkColor.cpp
index fe7b8f8..cb5f15c 100644
--- a/src/core/SkColor.cpp
+++ b/src/core/SkColor.cpp
@@ -51,7 +51,7 @@
SkScalar s = ByteDivToScalar(delta, max);
SkASSERT(s >= 0 && s <= SK_Scalar1);
- SkScalar h;
+ SkScalar h;
if (r == max) {
h = ByteDivToScalar(g - b, delta);
} else if (g == max) {
@@ -92,12 +92,12 @@
}
SkFixed hx = (hsv[0] < 0 || hsv[0] >= SkIntToScalar(360)) ? 0 : SkScalarToFixed(hsv[0]/60);
SkFixed f = hx & 0xFFFF;
-
+
unsigned v_scale = SkAlpha255To256(v);
unsigned p = SkAlphaMul(255 - s, v_scale);
unsigned q = SkAlphaMul(255 - (s * f >> 16), v_scale);
unsigned t = SkAlphaMul(255 - (s * (SK_Fixed1 - f) >> 16), v_scale);
-
+
unsigned r, g, b;
SkASSERT((unsigned)(hx >> 16) < 6);