diff options
author | mtklein <mtklein@chromium.org> | 2015-02-10 13:44:27 -0800 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2015-02-10 13:44:27 -0800 |
commit | bfd5bff75c0ce27a70f02e4b5578d66aa9d6e306 (patch) | |
tree | b4da5ee57719399580225ca5c37c8a390f1c9373 /src/core/SkRTree.h | |
parent | a0921f2563701d54e4e022de99f2705f4ada8a6e (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.h | 2 |
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; |