Index: src/animator/SkScript.cpp |
diff --git a/src/animator/SkScript.cpp b/src/animator/SkScript.cpp |
index c430695705d97aacab83ddb63e21182ceec5ccac..0694fc4a849533bf23e26e7bdb9c24350fd8ea4b 100644 |
--- a/src/animator/SkScript.cpp |
+++ b/src/animator/SkScript.cpp |
@@ -1356,7 +1356,7 @@ bool SkScriptEngine::processOp() { |
break; |
case kAddString: |
if (fTrackString.find(operand1.fString) < 0) { |
- operand1.fString = SkNEW_ARGS(SkString, (*operand1.fString)); |
+ operand1.fString = new SkString(*operand1.fString); |
track(operand1.fString); |
} |
operand1.fString->append(*operand2.fString); |