Index: src/core/SkQuadTreePicture.cpp |
=================================================================== |
--- src/core/SkQuadTreePicture.cpp (revision 14237) |
+++ src/core/SkQuadTreePicture.cpp (working copy) |
@@ -9,6 +9,14 @@ |
#include "SkQuadTree.h" |
+SkBBoxHierarchy* SkQuadTreeFactory::operator()(int width, int height) const { |
+ return SkNEW_ARGS(SkQuadTree, (SkIRect::MakeWH(width, height))); |
+} |
+ |
+#ifdef SK_SUPPORT_LEGACY_DERIVED_PICTURE_CLASSES |
+ |
SkBBoxHierarchy* SkQuadTreePicture::createBBoxHierarchy() const { |
return SkNEW_ARGS(SkQuadTree, (fBounds)); |
} |
+ |
+#endif |