| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright 2014 Google Inc. | 2 * Copyright 2014 Google Inc. |
| 3 * | 3 * |
| 4 * Use of this source code is governed by a BSD-style license that can be | 4 * Use of this source code is governed by a BSD-style license that can be |
| 5 * found in the LICENSE file. | 5 * found in the LICENSE file. |
| 6 */ | 6 */ |
| 7 | 7 |
| 8 #include "SkQuadTreePicture.h" | 8 #include "SkQuadTreePicture.h" |
| 9 | 9 |
| 10 #include "SkQuadTree.h" | 10 #include "SkQuadTree.h" |
| 11 | 11 |
| 12 SkBBoxHierarchy* SkQuadTreePicture::createBBoxHierarchy() const { | 12 SkBBoxHierarchy* SkQuadTreePicture::createBBoxHierarchy() const { |
| 13 return SkQuadTree::Create(fBounds); | 13 return SkNEW_ARGS(SkQuadTree, (fBounds)); |
| 14 } | 14 } |
| OLD | NEW |