aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--include/core/SkRect.h1
-rw-r--r--include/core/SkRegion.h1
2 files changed, 0 insertions, 2 deletions
diff --git a/include/core/SkRect.h b/include/core/SkRect.h
index 5c806a963b..0f68825fc1 100644
--- a/include/core/SkRect.h
+++ b/include/core/SkRect.h
@@ -281,7 +281,6 @@ struct SK_API SkIRect {
If either rectangle is empty, do nothing and return false.
*/
bool SK_WARN_UNUSED_RESULT intersect(const SkIRect& r) {
- SkASSERT(&r);
return this->intersect(r.fLeft, r.fTop, r.fRight, r.fBottom);
}
diff --git a/include/core/SkRegion.h b/include/core/SkRegion.h
index 20366bc638..eb0f1367ab 100644
--- a/include/core/SkRegion.h
+++ b/include/core/SkRegion.h
@@ -59,7 +59,6 @@ public:
* resulting region is non-empty.
*/
bool set(const SkRegion& src) {
- SkASSERT(&src);
*this = src;
return !this->isEmpty();
}