Index: src/core/SkBBHFactory.cpp |
diff --git a/src/core/SkBBHFactory.cpp b/src/core/SkBBHFactory.cpp |
index a4c7f4f81a0927a4d05cac09decc971a80c7b31d..e8534cacb33c8c9d048147a49a4c228599d7f879 100644 |
--- a/src/core/SkBBHFactory.cpp |
+++ b/src/core/SkBBHFactory.cpp |
@@ -12,5 +12,5 @@ |
SkBBoxHierarchy* SkRTreeFactory::operator()(const SkRect& bounds) const { |
SkScalar aspectRatio = bounds.width() / bounds.height(); |
- return SkNEW_ARGS(SkRTree, (aspectRatio)); |
+ return new SkRTree(aspectRatio); |
} |