Index: gm/imagefiltersbase.cpp |
diff --git a/gm/imagefiltersbase.cpp b/gm/imagefiltersbase.cpp |
index 426a4dcde24fb1aaef4d8f338a92452a630840f6..61c3f11f58edb083d6e9ee268d741f2e56b01ef4 100644 |
--- a/gm/imagefiltersbase.cpp |
+++ b/gm/imagefiltersbase.cpp |
@@ -26,9 +26,7 @@ public: |
FailImageFilter::GetFlattenableType()); |
} |
}; |
- static FailImageFilter* Create() { |
- return SkNEW(FailImageFilter); |
- } |
+ static FailImageFilter* Create() { return new FailImageFilter; } |
SK_TO_STRING_OVERRIDE() |
SK_DECLARE_PUBLIC_FLATTENABLE_DESERIALIZATION_PROCS(FailImageFilter) |
@@ -70,7 +68,7 @@ public: |
} |
}; |
static IdentityImageFilter* Create(SkImageFilter* input = NULL) { |
- return SkNEW_ARGS(IdentityImageFilter, (input)); |
+ return new IdentityImageFilter(input); |
} |
SK_TO_STRING_OVERRIDE() |