| Index: include/core/SkRect.h
|
| diff --git a/include/core/SkRect.h b/include/core/SkRect.h
|
| index 77051c2d8b0117b9f95c5904073c8018ed8162fe..c8fc7c65c8ef522f86e73de68c1422534cee3ed5 100644
|
| --- a/include/core/SkRect.h
|
| +++ b/include/core/SkRect.h
|
| @@ -277,7 +277,6 @@ struct SK_API SkIRect {
|
| rectangle. If either rectangle is empty, do nothing and return false.
|
| */
|
| bool intersect(const SkIRect& a, const SkIRect& b) {
|
| - SkASSERT(&a && &b);
|
|
|
| if (!a.isEmpty() && !b.isEmpty() &&
|
| a.fLeft < b.fRight && b.fLeft < a.fRight &&
|
| @@ -298,7 +297,6 @@ struct SK_API SkIRect {
|
| we assert that both rectangles are non-empty.
|
| */
|
| bool intersectNoEmptyCheck(const SkIRect& a, const SkIRect& b) {
|
| - SkASSERT(&a && &b);
|
| SkASSERT(!a.isEmpty() && !b.isEmpty());
|
|
|
| if (a.fLeft < b.fRight && b.fLeft < a.fRight &&
|
|
|