aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/core/SkRTree.h
diff options
context:
space:
mode:
authorGravatar mtklein <mtklein@chromium.org>2015-02-10 13:44:27 -0800
committerGravatar Commit bot <commit-bot@chromium.org>2015-02-10 13:44:27 -0800
commitbfd5bff75c0ce27a70f02e4b5578d66aa9d6e306 (patch)
treeb4da5ee57719399580225ca5c37c8a390f1c9373 /src/core/SkRTree.h
parenta0921f2563701d54e4e022de99f2705f4ada8a6e (diff)
Simplify SkBBH::insert API
No one's exploiting the ability to take ownership of the array anymore. BUG=skia: Review URL: https://codereview.chromium.org/913833002
Diffstat (limited to 'src/core/SkRTree.h')
-rw-r--r--src/core/SkRTree.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/SkRTree.h b/src/core/SkRTree.h
index 7934324b5d..320b0bd438 100644
--- a/src/core/SkRTree.h
+++ b/src/core/SkRTree.h
@@ -41,7 +41,7 @@ public:
explicit SkRTree(SkScalar aspectRatio = 1);
virtual ~SkRTree() {}
- void insert(SkAutoTMalloc<SkRect>* boundsArray, int N) SK_OVERRIDE;
+ void insert(const SkRect[], int N) SK_OVERRIDE;
void search(const SkRect& query, SkTDArray<unsigned>* results) const SK_OVERRIDE;
size_t bytesUsed() const SK_OVERRIDE;