diff options
author | 2014-11-19 07:17:16 -0800 | |
---|---|---|
committer | 2014-11-19 07:17:17 -0800 | |
commit | 7c4cdd2c5b7b6c71fa0e7612594f7885f2dbf264 (patch) | |
tree | 06ea08866680ce7abe2fdc7cdca0eb0321684ace /tests | |
parent | 7e76bff26e7c74902841ca4f607eb0b24a833a4a (diff) |
Revert of allow pictures to have a full bounds (patchset #3 id:40001 of https://codereview.chromium.org/736583004/)
Reason for revert:
needed to update legacy width() helpers
Original issue's description:
> allow pictures to have a full bounds
>
> BUG=skia:
>
> Committed: https://skia.googlesource.com/skia/+/7e76bff26e7c74902841ca4f607eb0b24a833a4a
TBR=fmalita@google.com,mtklein@google.com,robertphillips@google.com,fmalita@chromium.org
NOTREECHECKS=true
NOTRY=true
BUG=skia:
Review URL: https://codereview.chromium.org/722043005
Diffstat (limited to 'tests')
-rw-r--r-- | tests/PictureTest.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/PictureTest.cpp b/tests/PictureTest.cpp index c9298335f1..5bc60371c9 100644 --- a/tests/PictureTest.cpp +++ b/tests/PictureTest.cpp @@ -1842,7 +1842,7 @@ struct CountingBBH : public SkBBoxHierarchy { class SpoonFedBBHFactory : public SkBBHFactory { public: explicit SpoonFedBBHFactory(SkBBoxHierarchy* bbh) : fBBH(bbh) {} - SkBBoxHierarchy* operator()(const SkRect&) const SK_OVERRIDE { + virtual SkBBoxHierarchy* operator()(int width, int height) const { return SkRef(fBBH); } private: |