From 78e276889795454891cbba48ab11927968114953 Mon Sep 17 00:00:00 2001 From: reed Date: Wed, 19 Nov 2014 08:04:34 -0800 Subject: Allow pictures to have a full bounds This reverts commit 7c4cdd2c5b7b6c71fa0e7612594f7885f2dbf264. BUG=skia: Review URL: https://codereview.chromium.org/738083002 --- tests/PictureTest.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests') 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: -- cgit v1.2.3