| Index: src/animator/SkAnimator.cpp
|
| diff --git a/src/animator/SkAnimator.cpp b/src/animator/SkAnimator.cpp
|
| index f2b778054691af5f01b48a4abc0a52200814a9f2..97f55af01af3b1509a18d317c2c15b969d4aa1a1 100644
|
| --- a/src/animator/SkAnimator.cpp
|
| +++ b/src/animator/SkAnimator.cpp
|
| @@ -46,9 +46,7 @@ SkAnimator::SkAnimator() : fMaker(NULL) {
|
| initialize();
|
| }
|
|
|
| -SkAnimator::~SkAnimator() {
|
| - SkDELETE(fMaker);
|
| -}
|
| +SkAnimator::~SkAnimator() { delete fMaker; }
|
|
|
| void SkAnimator::addExtras(SkExtras* extras) {
|
| *fMaker->fExtras.append() = extras;
|
| @@ -386,8 +384,8 @@ const char* SkAnimator::getURIBase() {
|
| }
|
|
|
| void SkAnimator::initialize() {
|
| - SkDELETE(fMaker);
|
| - fMaker = SkNEW_ARGS(SkAnimateMaker, (this, NULL, NULL));
|
| + delete fMaker;
|
| + fMaker = new SkAnimateMaker(this, NULL, NULL);
|
| decodeMemory(gMathPrimer, sizeof(gMathPrimer)-1);
|
| #ifdef SK_BUILD_FOR_ANDROID
|
| InitializeSkExtraPathEffects(this);
|
|
|