From da0d978b1fa682f82d82f21924f2a786677fcdb5 Mon Sep 17 00:00:00 2001 From: "skia.committer@gmail.com" Date: Sat, 29 Mar 2014 03:02:36 +0000 Subject: Sanitizing source files in Housekeeper-Nightly git-svn-id: http://skia.googlecode.com/svn/trunk@13989 2bbb7eff-a529-9590-31e7-b0007b416f81 --- platform_tools/android/tests/expectations/SkUserConfig.h | 10 +++++----- src/gpu/effects/GrOvalEffect.cpp | 2 +- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/platform_tools/android/tests/expectations/SkUserConfig.h b/platform_tools/android/tests/expectations/SkUserConfig.h index 57827ad846..78b69a44b2 100644 --- a/platform_tools/android/tests/expectations/SkUserConfig.h +++ b/platform_tools/android/tests/expectations/SkUserConfig.h @@ -23,15 +23,15 @@ #ifndef SkUserConfig_Android_DEFINED #define SkUserConfig_Android_DEFINED #ifdef ANDROID - #include + #include #endif #if __BYTE_ORDER == __BIG_ENDIAN - #define SK_CPU_BENDIAN - #undef SK_CPU_LENDIAN + #define SK_CPU_BENDIAN + #undef SK_CPU_LENDIAN #else - #define SK_CPU_LENDIAN - #undef SK_CPU_BENDIAN + #define SK_CPU_LENDIAN + #undef SK_CPU_BENDIAN #endif #define SK_BUILD_FOR_ANDROID diff --git a/src/gpu/effects/GrOvalEffect.cpp b/src/gpu/effects/GrOvalEffect.cpp index 0a07cfe2dd..77c93e9330 100644 --- a/src/gpu/effects/GrOvalEffect.cpp +++ b/src/gpu/effects/GrOvalEffect.cpp @@ -146,7 +146,7 @@ void GLCircleEffect::emitCode(GrGLShaderBuilder* builder, SkASSERT(kHairlineAA_GrEffectEdgeType != ce.getEdgeType()); if (GrEffectEdgeTypeIsInverseFill(ce.getEdgeType())) { - builder->fsCodeAppendf("\t\tfloat d = length(%s.xy - %s.xy) - %s.z;\n", + builder->fsCodeAppendf("\t\tfloat d = length(%s.xy - %s.xy) - %s.z;\n", circleName, fragmentPos, circleName); } else { builder->fsCodeAppendf("\t\tfloat d = %s.z - length(%s.xy - %s.xy);\n", -- cgit v1.2.3