aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/animator/SkAnimatorScript.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/animator/SkAnimatorScript.cpp')
-rw-r--r--src/animator/SkAnimatorScript.cpp5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/animator/SkAnimatorScript.cpp b/src/animator/SkAnimatorScript.cpp
index eafe1dbf59..cc111ca540 100644
--- a/src/animator/SkAnimatorScript.cpp
+++ b/src/animator/SkAnimatorScript.cpp
@@ -519,8 +519,6 @@ static const char scriptTestSetup[] =
"</event>\n"
"</screenplay>";
-#if !defined(SK_BUILD_FOR_BREW)
-
#define DEFAULT_ANSWER , 0
static const SkScriptNAnswer scriptTests[] = {
@@ -559,12 +557,11 @@ static const SkScriptNAnswer scriptTests[] = {
{ "0 ? alpha.value.slice(1,2) : 1", SkType_Int, 1 DEFAULT_ANSWER DEFAULT_ANSWER },
{ "idy", SkType_Int, 3 DEFAULT_ANSWER DEFAULT_ANSWER }
};
-#endif
#define SkScriptNAnswer_testCount SK_ARRAY_COUNT(scriptTests)
void SkAnimatorScript::UnitTest() {
-#if !defined(SK_BUILD_FOR_BREW) && defined(SK_SUPPORT_UNITTEST)
+#if defined(SK_SUPPORT_UNITTEST)
SkAnimator animator;
SkASSERT(animator.decodeMemory(scriptTestSetup, sizeof(scriptTestSetup)-1));
SkEvent evt;