Index: src/effects/SkMagnifierImageFilter.cpp |
diff --git a/src/effects/SkMagnifierImageFilter.cpp b/src/effects/SkMagnifierImageFilter.cpp |
index 4ab3fa17495603d27834b0b663c9bff0a3d30e46..931ed7ec6b41da835e55f5ee1712dc19713f9ba9 100644 |
--- a/src/effects/SkMagnifierImageFilter.cpp |
+++ b/src/effects/SkMagnifierImageFilter.cpp |
@@ -247,7 +247,7 @@ SkMagnifierImageFilter::SkMagnifierImageFilter(SkReadBuffer& buffer) |
} |
// FIXME: implement single-input semantics |
-SkMagnifierImageFilter::SkMagnifierImageFilter(SkRect srcRect, SkScalar inset) |
+SkMagnifierImageFilter::SkMagnifierImageFilter(const SkRect& srcRect, SkScalar inset) |
: INHERITED(0), fSrcRect(srcRect), fInset(inset) { |
SkASSERT(srcRect.x() >= 0 && srcRect.y() >= 0 && inset >= 0); |
} |