Index: samplecode/OverView.cpp |
diff --git a/samplecode/OverView.cpp b/samplecode/OverView.cpp |
index bdb8ddd657ef914c377aca5913eac99e61ef98a6..9e229ff94714b624a29c97a00661cb20909cd81b 100644 |
--- a/samplecode/OverView.cpp |
+++ b/samplecode/OverView.cpp |
@@ -119,7 +119,7 @@ private: |
}; |
SkView* create_overview(int count, const SkViewFactory* factories[]) { |
- return SkNEW_ARGS(OverView, (count, factories)); |
+ return new OverView(count, factories); |
} |
bool is_overview(SkView* view) { |