| Index: src/core/SkQuadTreePicture.cpp
|
| ===================================================================
|
| --- src/core/SkQuadTreePicture.cpp (revision 14252)
|
| +++ src/core/SkQuadTreePicture.cpp (working copy)
|
| @@ -5,16 +5,12 @@
|
| * found in the LICENSE file.
|
| */
|
|
|
| +#ifdef SK_SUPPORT_LEGACY_DERIVED_PICTURE_CLASSES
|
| +
|
| #include "SkQuadTreePicture.h"
|
|
|
| #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));
|
| }
|
|
|