Region::validate() cannot be called from addRectUnchecked()

addRectUnchecked() is allowed to be in an invalid state
temporarily.

Change-Id: I6f5162b5c49f378978c070a77abba35023fe918c
This commit is contained in:
Mathias Agopian 2012-09-12 17:56:29 -07:00
parent 8df840aa76
commit 9ca6491bb7
1 changed files with 0 additions and 4 deletions

View File

@ -114,10 +114,6 @@ void Region::addRectUnchecked(int l, int t, int r, int b)
Rect rect(l,t,r,b);
size_t where = mStorage.size() - 1;
mStorage.insertAt(rect, where, 1);
#if VALIDATE_REGIONS
validate(*this, "addRectUnchecked");
#endif
}
// ----------------------------------------------------------------------------