diff options
author | 2014-11-19 06:59:41 -0800 | |
---|---|---|
committer | 2014-11-19 06:59:41 -0800 | |
commit | 7e76bff26e7c74902841ca4f607eb0b24a833a4a (patch) | |
tree | cb2f55b88a3ec2b3838dc9003808af03b6700e1d /tests | |
parent | ec03a4608025106ea3f21353865c7d302c0a13c6 (diff) |
allow pictures to have a full bounds
BUG=skia:
Review URL: https://codereview.chromium.org/736583004
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: |