Index: src/animator/SkAnimatorScript2.cpp |
diff --git a/src/animator/SkAnimatorScript2.cpp b/src/animator/SkAnimatorScript2.cpp |
index 28912fb6d005ce8ef33320f261a25a6460faa465..700027aec03e735851be893e6beb8fb83cc19c29 100644 |
--- a/src/animator/SkAnimatorScript2.cpp |
+++ b/src/animator/SkAnimatorScript2.cpp |
@@ -329,13 +329,13 @@ public: |
} break; |
case SkType_String: { |
SkDisplayString* boxedValue = (SkDisplayString*) displayable; |
- operand->fString = SkNEW_ARGS(SkString, (boxedValue->value)); |
+ operand->fString = new SkString(boxedValue->value); |
} break; |
default: { |
const char* id; |
bool success = fEngine->getMaker().findKey(displayable, &id); |
SkASSERT(success); |
- operand->fString = SkNEW_ARGS(SkString, (id)); |
+ operand->fString = new SkString(id); |
} |
} |
return true; |