| Index: src/core/SkRTree.h
|
| diff --git a/src/core/SkRTree.h b/src/core/SkRTree.h
|
| index d21b5f8d3716ec77b3fb74a3b259fd648103b90d..6487b324efa58a35646d7fbc8b2a6cc17043c7a0 100644
|
| --- a/src/core/SkRTree.h
|
| +++ b/src/core/SkRTree.h
|
| @@ -77,7 +77,7 @@ public:
|
| /**
|
| * Given a query rectangle, populates the passed-in array with the elements it intersects
|
| */
|
| - virtual void search(const SkIRect& query, SkTDArray<void*>* results) SK_OVERRIDE;
|
| + virtual void search(const SkIRect& query, SkTDArray<void*>* results) const SK_OVERRIDE;
|
|
|
| virtual void clear() SK_OVERRIDE;
|
| bool isEmpty() const { return 0 == fCount; }
|
| @@ -177,8 +177,8 @@ private:
|
| */
|
| Branch bulkLoad(SkTDArray<Branch>* branches, int level = 0);
|
|
|
| - void validate();
|
| - int validateSubtree(Node* root, SkIRect bounds, bool isRoot = false);
|
| + void validate() const;
|
| + int validateSubtree(Node* root, SkIRect bounds, bool isRoot = false) const;
|
|
|
| const int fMinChildren;
|
| const int fMaxChildren;
|
|
|