diff options
author | 2013-08-02 07:00:59 +0000 | |
---|---|---|
committer | 2013-08-02 07:00:59 +0000 | |
commit | bd74add1dcb47cfaa8c8d176c2cc70e1e31c8b50 (patch) | |
tree | 8cec26261656ea038969725153c40f556280d1e8 | |
parent | febfd70d26dce3eb30da5384e36d740576a56161 (diff) |
Sanitizing source files in Housekeeper-Nightly
git-svn-id: http://skia.googlecode.com/svn/trunk@10503 2bbb7eff-a529-9590-31e7-b0007b416f81
-rw-r--r-- | src/utils/SkLua.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/utils/SkLua.cpp b/src/utils/SkLua.cpp index 8267132b2f..427093b2e7 100644 --- a/src/utils/SkLua.cpp +++ b/src/utils/SkLua.cpp @@ -714,12 +714,12 @@ static int lshader_asAGradient(lua_State* L) { sk_bzero(&info, sizeof(info)); SkColor colors[3]; // hacked in for extracting info on 3 color case. - SkScalar pos[3]; + SkScalar pos[3]; info.fColorCount = 3; info.fColors = &colors[0]; info.fColorOffsets = &pos[0]; - + SkShader::GradientType t = shader->asAGradient(&info); if (SkShader::kNone_GradientType != t) { @@ -731,7 +731,7 @@ static int lshader_asAGradient(lua_State* L) { if (info.fColorCount == 3){ setfield_number(L, "midPos", pos[1]); } - + return 1; } } |