aboutsummaryrefslogtreecommitdiffhomepage
path: root/tests
diff options
context:
space:
mode:
authorGravatar reed <reed@google.com>2014-11-19 06:59:41 -0800
committerGravatar Commit bot <commit-bot@chromium.org>2014-11-19 06:59:41 -0800
commit7e76bff26e7c74902841ca4f607eb0b24a833a4a (patch)
treecb2f55b88a3ec2b3838dc9003808af03b6700e1d /tests
parentec03a4608025106ea3f21353865c7d302c0a13c6 (diff)
allow pictures to have a full bounds
Diffstat (limited to 'tests')
-rw-r--r--tests/PictureTest.cpp2
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: