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

Unified Diff: src/gpu/effects/GrDistanceFieldGeoProc.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 | « src/gpu/effects/GrDistanceFieldGeoProc.h ('k') | src/gpu/effects/GrDitherEffect.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/gpu/effects/GrDistanceFieldGeoProc.cpp
diff --git a/src/gpu/effects/GrDistanceFieldGeoProc.cpp b/src/gpu/effects/GrDistanceFieldGeoProc.cpp
old mode 100755
new mode 100644
index 8551272b24b5fe8d84379440952b28948953a29b..5d6df72951635c64fc598f3f7ff346fb606add7e
--- a/src/gpu/effects/GrDistanceFieldGeoProc.cpp
+++ b/src/gpu/effects/GrDistanceFieldGeoProc.cpp
@@ -245,7 +245,7 @@ void GrDistanceFieldA8TextGeoProc::getGLProcessorKey(const GrBatchTracker& bt,
GrGLPrimitiveProcessor*
GrDistanceFieldA8TextGeoProc::createGLInstance(const GrBatchTracker& bt,
const GrGLSLCaps&) const {
- return SkNEW_ARGS(GrGLDistanceFieldA8TextGeoProc, (*this, bt));
+ return new GrGLDistanceFieldA8TextGeoProc(*this, bt);
}
///////////////////////////////////////////////////////////////////////////////
@@ -468,7 +468,7 @@ void GrDistanceFieldPathGeoProc::getGLProcessorKey(const GrBatchTracker& bt,
GrGLPrimitiveProcessor*
GrDistanceFieldPathGeoProc::createGLInstance(const GrBatchTracker& bt, const GrGLSLCaps&) const {
- return SkNEW_ARGS(GrGLDistanceFieldPathGeoProc, (*this, bt));
+ return new GrGLDistanceFieldPathGeoProc(*this, bt);
}
///////////////////////////////////////////////////////////////////////////////
@@ -741,7 +741,7 @@ void GrDistanceFieldLCDTextGeoProc::getGLProcessorKey(const GrBatchTracker& bt,
GrGLPrimitiveProcessor*
GrDistanceFieldLCDTextGeoProc::createGLInstance(const GrBatchTracker& bt,
const GrGLSLCaps&) const {
- return SkNEW_ARGS(GrGLDistanceFieldLCDTextGeoProc, (*this, bt));
+ return new GrGLDistanceFieldLCDTextGeoProc(*this, bt);
}
///////////////////////////////////////////////////////////////////////////////
« no previous file with comments | « src/gpu/effects/GrDistanceFieldGeoProc.h ('k') | src/gpu/effects/GrDitherEffect.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698