Index: src/core/SkQuadTreePicture.cpp |
diff --git a/src/core/SkQuadTreePicture.cpp b/src/core/SkQuadTreePicture.cpp |
index 354b904b56a5b0da70df4b359ef1d0746b091614..091f4406216dd8f9ec0b6f5bd1801b12107496b4 100644 |
--- a/src/core/SkQuadTreePicture.cpp |
+++ b/src/core/SkQuadTreePicture.cpp |
@@ -10,5 +10,5 @@ |
#include "SkQuadTree.h" |
SkBBoxHierarchy* SkQuadTreePicture::createBBoxHierarchy() const { |
- return SkQuadTree::Create(fBounds); |
+ return SkNEW_ARGS(SkQuadTree, (fBounds)); |
} |