Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(28)

Unified Diff: src/animator/SkAnimateActive.cpp

Issue 1316123003: Style Change: SkNEW->new; SkDELETE->delete (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: 2015-08-26 (Wednesday) 15:59:00 EDT Created 5 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « site/user/api/canvas.md ('k') | src/animator/SkAnimateSet.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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);
« no previous file with comments | « site/user/api/canvas.md ('k') | src/animator/SkAnimateSet.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698