Index: src/core/SkQuadTree.cpp |
diff --git a/src/core/SkQuadTree.cpp b/src/core/SkQuadTree.cpp |
index a11613d08b0260e1a65808f5a0373e6a41a59a00..1fc3cd0192a26c64efe3a06ef5baf4cfd8a17aec 100644 |
--- a/src/core/SkQuadTree.cpp |
+++ b/src/core/SkQuadTree.cpp |
@@ -168,7 +168,7 @@ void SkQuadTree::insert(void* data, const SkIRect& bounds, bool) { |
} |
} |
-void SkQuadTree::search(const SkIRect& query, SkTDArray<void*>* results) { |
+void SkQuadTree::search(const SkIRect& query, SkTDArray<void*>* results) const { |
SkASSERT(NULL != fRoot); |
SkASSERT(NULL != results); |
if (SkIRect::Intersects(fRootBounds, query)) { |