diff options
author | Mathias Agopian <mathias@google.com> | 2012-09-12 17:56:29 -0700 |
---|---|---|
committer | Mathias Agopian <mathias@google.com> | 2012-09-12 17:56:29 -0700 |
commit | 9ca6491bb701919a3f88fa7c43da284b13822ed6 (patch) | |
tree | 875b0d2842e038e24f141eac5bdf9f97cf4c20ad /libs/ui | |
parent | 8df840aa76bc1cd7bc924d32ed4c69a95b33059e (diff) | |
download | frameworks_native-9ca6491bb701919a3f88fa7c43da284b13822ed6.zip frameworks_native-9ca6491bb701919a3f88fa7c43da284b13822ed6.tar.gz frameworks_native-9ca6491bb701919a3f88fa7c43da284b13822ed6.tar.bz2 |
Region::validate() cannot be called from addRectUnchecked()
addRectUnchecked() is allowed to be in an invalid state
temporarily.
Change-Id: I6f5162b5c49f378978c070a77abba35023fe918c
Diffstat (limited to 'libs/ui')
-rw-r--r-- | libs/ui/Region.cpp | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/libs/ui/Region.cpp b/libs/ui/Region.cpp index db69e16..932ef68 100644 --- a/libs/ui/Region.cpp +++ b/libs/ui/Region.cpp @@ -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 } // ---------------------------------------------------------------------------- |