diff options
author | reed <reed@google.com> | 2014-11-19 08:04:34 -0800 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2014-11-19 08:04:34 -0800 |
commit | 78e276889795454891cbba48ab11927968114953 (patch) | |
tree | 4ac8a8bdbe12d1fb3a63a37746cb00edd40bc38d /tests | |
parent | 7c4cdd2c5b7b6c71fa0e7612594f7885f2dbf264 (diff) |
Allow pictures to have a full bounds
This reverts commit 7c4cdd2c5b7b6c71fa0e7612594f7885f2dbf264.
BUG=skia:
Review URL: https://codereview.chromium.org/738083002
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 5bc60371c9..c9298335f1 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) {} - virtual SkBBoxHierarchy* operator()(int width, int height) const { + SkBBoxHierarchy* operator()(const SkRect&) const SK_OVERRIDE { return SkRef(fBBH); } private: |