Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(18)

Unified Diff: include/core/SkRegion.h

Issue 1111013002: Remove useless SkASSERT in SkRect.h and SkRegion.h (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 5 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « include/core/SkRect.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: include/core/SkRegion.h
diff --git a/include/core/SkRegion.h b/include/core/SkRegion.h
index 20366bc63822441af294015df930c3eb34818770..eb0f1367aba4a6b14bca770525bda848bcbbe9c9 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();
}
« no previous file with comments | « include/core/SkRect.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698