diff options
author | mtklein <mtklein@chromium.org> | 2014-08-27 10:39:42 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2014-08-27 10:39:42 -0700 |
commit | 533eb782edaa0b6fece6166d3001edf72ec39f11 (patch) | |
tree | a4d863ff13725c8c8c33c9b50d63ec74c54deff1 /src/core/SkBBoxHierarchy.h | |
parent | 3031350e05d8ef8c67a5e9ce8e5c428c8560eb50 (diff) |
Convert BBH APIs to use SkRect.
Still TODO: convert internals of SkTileGrid.cpp and SkRTree.cpp to work in floats too.
NOTREECHECKS=true
BUG=skia:1021
R=robertphillips@google.com, reed@google.com, mtklein@google.com
Author: mtklein@chromium.org
Review URL: https://codereview.chromium.org/511613002
Diffstat (limited to 'src/core/SkBBoxHierarchy.h')
-rw-r--r-- | src/core/SkBBoxHierarchy.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/SkBBoxHierarchy.h b/src/core/SkBBoxHierarchy.h index b42f708bc7..fd9680c6aa 100644 --- a/src/core/SkBBoxHierarchy.h +++ b/src/core/SkBBoxHierarchy.h @@ -49,7 +49,7 @@ public: * structures than repeated inserts) until flushDeferredInserts is called or the first * search. */ - virtual void insert(void* data, const SkIRect& bounds, bool defer = false) = 0; + virtual void insert(void* data, const SkRect& bounds, bool defer = false) = 0; /** * If any insertions have been deferred, this forces them to be inserted @@ -59,7 +59,7 @@ public: /** * Populate 'results' with data pointers corresponding to bounding boxes that intersect 'query' */ - virtual void search(const SkIRect& query, SkTDArray<void*>* results) const = 0; + virtual void search(const SkRect& query, SkTDArray<void*>* results) const = 0; virtual void clear() = 0; |