Index: include/core/SkRect.h |
diff --git a/include/core/SkRect.h b/include/core/SkRect.h |
index fe276e6710b0d242a0b96de66eb22d87f7e7c015..bfc9981da94c054acae7f64e3635d3b4176fa82d 100644 |
--- a/include/core/SkRect.h |
+++ b/include/core/SkRect.h |
@@ -838,7 +838,7 @@ public: |
*/ |
void dround(SkIRect* dst) const { |
SkASSERT(dst); |
- dst->set(SkDScalarRoundToInt(fLeft), SkDScalarRoundToInt(fTop), |
+ dst->set(SkDScalarRoundDownToInt(fLeft), SkDScalarRoundDownToInt(fTop), |
SkDScalarRoundToInt(fRight), SkDScalarRoundToInt(fBottom)); |
} |