Index: src/core/SkClipStack.cpp |
diff --git a/src/core/SkClipStack.cpp b/src/core/SkClipStack.cpp |
index a51185e95a8cff2b2564b442f69c41e943ed0146..e0c3db01ba0742439d8521bddad303957a557bee 100644 |
--- a/src/core/SkClipStack.cpp |
+++ b/src/core/SkClipStack.cpp |
@@ -417,6 +417,13 @@ |
case kEmpty_Type: |
SkDEBUGFAIL("We shouldn't get here with an empty element."); |
break; |
+ } |
+ |
+ if (!fDoAA) { |
+ fFiniteBound.set(SkScalarFloorToScalar(fFiniteBound.fLeft+0.45f), |
+ SkScalarRoundToScalar(fFiniteBound.fTop), |
+ SkScalarRoundToScalar(fFiniteBound.fRight), |
+ SkScalarRoundToScalar(fFiniteBound.fBottom)); |
} |
// Now determine the previous Element's bound information taking into |