Index: src/core/SkQuadTreePicture.h |
=================================================================== |
--- src/core/SkQuadTreePicture.h (revision 14252) |
+++ src/core/SkQuadTreePicture.h (working copy) |
@@ -8,17 +8,13 @@ |
#ifndef SkQuadTreePicture_DEFINED |
#define SkQuadTreePicture_DEFINED |
-#include "SkPicture.h" |
+#ifdef SK_SUPPORT_LEGACY_PICTURE_HEADERS |
+#include "SkBBHFactory.h" |
+#endif |
-class SkQuadTreeFactory : public SkBBHFactory { |
-public: |
- virtual SkBBoxHierarchy* operator()(int width, int height) const SK_OVERRIDE; |
-private: |
- typedef SkBBHFactory INHERITED; |
-}; |
- |
#ifdef SK_SUPPORT_LEGACY_DERIVED_PICTURE_CLASSES |
+#include "SkPicture.h" |
#include "SkRect.h" |
/** |