Index: src/core/SkRTree.h |
diff --git a/src/core/SkRTree.h b/src/core/SkRTree.h |
index 205c0b60c21eccbc4a78676a0c67c94c50729410..557817189d182e9063dff7a242561139df74588b 100644 |
--- a/src/core/SkRTree.h |
+++ b/src/core/SkRTree.h |
@@ -31,7 +31,7 @@ |
*/ |
class SkRTree : public SkBBoxHierarchy { |
public: |
- |
+ |
/** |
* If you have some prior information about the distribution of bounds you're expecting, you |
@@ -42,7 +42,7 @@ public: |
virtual ~SkRTree() {} |
void insert(const SkRect[], int N) override; |
- void search(const SkRect& query, SkTDArray<unsigned>* results) const override; |
+ void search(const SkRect& query, SkTDArray<int>* results) const override; |
size_t bytesUsed() const override; |
// Methods and constants below here are only public for tests. |
@@ -65,7 +65,7 @@ private: |
struct Branch { |
union { |
Node* fSubtree; |
- unsigned fOpIndex; |
+ int fOpIndex; |
}; |
SkRect fBounds; |
}; |
@@ -76,7 +76,7 @@ private: |
Branch fChildren[kMaxChildren]; |
}; |
- void search(Node* root, const SkRect& query, SkTDArray<unsigned>* results) const; |
+ void search(Node* root, const SkRect& query, SkTDArray<int>* results) const; |
// Consumes the input array. |
Branch bulkLoad(SkTDArray<Branch>* branches, int level = 0); |