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

Unified Diff: include/core/SkPathEffect.h

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 | « include/core/SkLazyPtr.h ('k') | include/core/SkRefCnt.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: include/core/SkPathEffect.h
diff --git a/include/core/SkPathEffect.h b/include/core/SkPathEffect.h
index 34d0dd7d518d3d3631369ec6814183bb00ec293a..72ea4620c5dea938fe3f6b4764383b6b77d7b66f 100644
--- a/include/core/SkPathEffect.h
+++ b/include/core/SkPathEffect.h
@@ -185,7 +185,7 @@ public:
and decremented in the destructor.
*/
static SkComposePathEffect* Create(SkPathEffect* outer, SkPathEffect* inner) {
- return SkNEW_ARGS(SkComposePathEffect, (outer, inner));
+ return new SkComposePathEffect(outer, inner);
}
virtual bool filterPath(SkPath* dst, const SkPath& src,
@@ -222,7 +222,7 @@ public:
and decremented in the destructor.
*/
static SkSumPathEffect* Create(SkPathEffect* first, SkPathEffect* second) {
- return SkNEW_ARGS(SkSumPathEffect, (first, second));
+ return new SkSumPathEffect(first, second);
}
virtual bool filterPath(SkPath* dst, const SkPath& src,
« no previous file with comments | « include/core/SkLazyPtr.h ('k') | include/core/SkRefCnt.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698