Index: src/core/SkCanvas.cpp |
diff --git a/src/core/SkCanvas.cpp b/src/core/SkCanvas.cpp |
index 6036186fc25d637399d93f43dd8b182f9132e743..32a6e09ba82e2fa25227b258e687cd4e9b022c52 100644 |
--- a/src/core/SkCanvas.cpp |
+++ b/src/core/SkCanvas.cpp |
@@ -1307,7 +1307,7 @@ bool SkCanvas::updateClipConservativelyUsingBounds(const SkRect& bounds, SkRegio |
SkRect deviceBounds; |
SkIRect deviceIBounds; |
this->getDevice()->getGlobalBounds(&deviceIBounds); |
- deviceBounds = SkRect::MakeFromIRect(deviceIBounds); |
+ deviceBounds = SkRect::Make(deviceIBounds); |
this->SkCanvas::save(SkCanvas::kMatrix_SaveFlag); |
// set the clip in device space |
this->SkCanvas::setMatrix(SkMatrix::I()); |