| Index: src/animator/SkAnimateActive.cpp
|
| diff --git a/src/animator/SkAnimateActive.cpp b/src/animator/SkAnimateActive.cpp
|
| index 697c077ed5f3d94e9764d3555ed761dad0087ffb..8d8c26801696c793cd766666d0e5d79b820bb52f 100644
|
| --- a/src/animator/SkAnimateActive.cpp
|
| +++ b/src/animator/SkAnimateActive.cpp
|
| @@ -31,7 +31,7 @@ void SkActive::init()
|
| fState.setCount(animators);
|
| int index;
|
| for (index = 0; index < animators; index++)
|
| - fInterpolators[index] = SkNEW(SkOperandInterpolator);
|
| + fInterpolators[index] = new SkOperandInterpolator;
|
| initState(&fApply, 0);
|
| // for (index = 0; index < animators; index++)
|
| // fState[index].bumpSave();
|
| @@ -65,7 +65,7 @@ void SkActive::append(SkApply* apply) {
|
| fInterpolators.setCount(total);
|
| memset(&fInterpolators.begin()[oldCount], 0, newCount * sizeof(SkOperandInterpolator*));
|
| for (index = oldCount; index < total; index++)
|
| - fInterpolators[index] = SkNEW(SkOperandInterpolator);
|
| + fInterpolators[index] = new SkOperandInterpolator;
|
| fAnimators.setCount(total);
|
| memcpy(&fAnimators[oldCount], animates.begin(), sizeof(fAnimators[0]) *
|
| newCount);
|
|
|