aboutsummaryrefslogtreecommitdiffhomepage
path: root/tests
diff options
context:
space:
mode:
authorGravatar reed <reed@google.com>2014-11-19 08:04:34 -0800
committerGravatar Commit bot <commit-bot@chromium.org>2014-11-19 08:04:34 -0800
commit78e276889795454891cbba48ab11927968114953 (patch)
tree4ac8a8bdbe12d1fb3a63a37746cb00edd40bc38d /tests
parent7c4cdd2c5b7b6c71fa0e7612594f7885f2dbf264 (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: