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/SkBBoxHierarchy.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/SkBBoxHierarchy.h')
-rw-r--r-- | src/core/SkBBoxHierarchy.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/core/SkBBoxHierarchy.h b/src/core/SkBBoxHierarchy.h index aee8af5d7d..f925a91940 100644 --- a/src/core/SkBBoxHierarchy.h +++ b/src/core/SkBBoxHierarchy.h @@ -24,9 +24,8 @@ public: /** * Insert N bounding boxes into the hierarchy. - * The SkBBoxHierarchy may take ownership of boundsArray by calling detach(). */ - virtual void insert(SkAutoTMalloc<SkRect>* boundsArray, int N) = 0; + virtual void insert(const SkRect[], int N) = 0; /** * Populate results with the indices of bounding boxes interesecting that query. |