| Index: tests/PDFPrimitivesTest.cpp
|
| diff --git a/tests/PDFPrimitivesTest.cpp b/tests/PDFPrimitivesTest.cpp
|
| index 7861ef0fe145dc7e7359ce5d4361150283fa8aec..0a8abea04e37aba951c95135eef6a63019f20635 100644
|
| --- a/tests/PDFPrimitivesTest.cpp
|
| +++ b/tests/PDFPrimitivesTest.cpp
|
| @@ -317,11 +317,12 @@ class DummyImageFilter : public SkImageFilter {
|
| public:
|
| DummyImageFilter(bool visited = false) : SkImageFilter(0, NULL), fVisited(visited) {}
|
| ~DummyImageFilter() SK_OVERRIDE {}
|
| - virtual bool onFilterImage(Proxy*, const SkBitmap& src, const Context&,
|
| - SkBitmap* result, SkIPoint* offset) const SK_OVERRIDE {
|
| + virtual bool onFilterImage(Proxy*, const SkImage* src, const Context&,
|
| + SkAutoTUnref<const SkImage>& result,
|
| + SkIPoint* offset) const SK_OVERRIDE {
|
| fVisited = true;
|
| offset->fX = offset->fY = 0;
|
| - *result = src;
|
| + result.reset(SkRef(src));
|
| return true;
|
| }
|
| SK_TO_STRING_OVERRIDE()
|
|
|