Index: src/gpu/GrClip.cpp |
diff --git a/src/gpu/GrClip.cpp b/src/gpu/GrClip.cpp |
index 63d8f5169510780099aac011c10131b101e47221..5c4a27ccadb0453e73720084e454a6e29c7ee45b 100644 |
--- a/src/gpu/GrClip.cpp |
+++ b/src/gpu/GrClip.cpp |
@@ -33,15 +33,6 @@ void GrClip::getConservativeBounds(int width, int height, SkIRect* devResult, |
*isIntersectionOfRects = true; |
} |
} break; |
- case kRect_ClipType: { |
- devResult->setLTRB(SkScalarCeilToInt(this->rect().fLeft), |
- SkScalarCeilToInt(this->rect().fTop), |
- SkScalarCeilToInt(this->rect().fRight), |
- SkScalarCeilToInt(this->rect().fBottom)); |
- if (isIntersectionOfRects) { |
- *isIntersectionOfRects = true; |
- } |
- } break; |
case kClipStack_ClipType: { |
SkRect devBounds; |
this->clipStack()->getConservativeBounds(-this->origin().fX, |