diff options
-rw-r--r-- | src/animator/SkDisplayNumber.cpp | 2 | ||||
-rw-r--r-- | src/animator/SkDrawGradient.cpp | 4 | ||||
-rw-r--r-- | src/animator/SkScriptRuntime.h | 2 |
3 files changed, 4 insertions, 4 deletions
diff --git a/src/animator/SkDisplayNumber.cpp b/src/animator/SkDisplayNumber.cpp index ed24ce861c..82b658f7be 100644 --- a/src/animator/SkDisplayNumber.cpp +++ b/src/animator/SkDisplayNumber.cpp @@ -67,4 +67,4 @@ bool SkDisplayNumber::getProperty(int index, SkScriptValue* value) const { #if defined _WIN32 #pragma warning ( pop ) -#endif
\ No newline at end of file +#endif diff --git a/src/animator/SkDrawGradient.cpp b/src/animator/SkDrawGradient.cpp index 2cad72253b..4f7fbb6be8 100644 --- a/src/animator/SkDrawGradient.cpp +++ b/src/animator/SkDrawGradient.cpp @@ -13,7 +13,7 @@ #include "SkGradientShader.h" #include "SkUnitMapper.h" -SkScalar SkUnitToScalar(U16CPU x) { +static SkScalar SkUnitToScalar(U16CPU x) { #ifdef SK_SCALAR_IS_FLOAT return x / 65535.0f; #else @@ -21,7 +21,7 @@ SkScalar SkUnitToScalar(U16CPU x) { #endif } -U16CPU SkScalarToUnit(SkScalar x) { +static U16CPU SkScalarToUnit(SkScalar x) { SkScalar pin = SkScalarPin(x, 0, SK_Scalar1); #ifdef SK_SCALAR_IS_FLOAT return (int) (pin * 65535.0f); diff --git a/src/animator/SkScriptRuntime.h b/src/animator/SkScriptRuntime.h index 5de7b301c9..7721bd2c3f 100644 --- a/src/animator/SkScriptRuntime.h +++ b/src/animator/SkScriptRuntime.h @@ -47,4 +47,4 @@ private: SkScriptRuntime& operator=(const SkScriptRuntime&); }; -#endif // SkScriptRuntime_DEFINED
\ No newline at end of file +#endif // SkScriptRuntime_DEFINED |