Index: src/effects/SkImageSource.cpp |
diff --git a/src/effects/SkImageSource.cpp b/src/effects/SkImageSource.cpp |
index c0a8deebf95f7b505ee274383c3c0fb1c556b924..d63eda989fd2e5a3396af5a17a6871767188eeef 100644 |
--- a/src/effects/SkImageSource.cpp |
+++ b/src/effects/SkImageSource.cpp |
@@ -113,8 +113,8 @@ SkSpecialImage* SkImageSource::onFilterImage(SkSpecialImage* source, const Conte |
return surf->makeImageSnapshot().release(); |
} |
-void SkImageSource::computeFastBounds(const SkRect& src, SkRect* dst) const { |
- *dst = fDstRect; |
+SkRect SkImageSource::computeFastBounds(const SkRect& src) const { |
+ return fDstRect; |
} |
#ifndef SK_IGNORE_TO_STRING |