Merge "fix [3148312] Region can access data out of bounds" into gingerbread

This commit is contained in:
Mathias Agopian
2010-11-08 13:40:40 -08:00
committed by Android (Google) Code Review

View File

@@ -289,7 +289,7 @@ private:
void flushSpan() {
bool merge = false;
if (tail-head == ssize_t(span.size())) {
Rect const* p = cur;
Rect const* p = span.editArray();
Rect const* q = head;
if (p->top == q->bottom) {
merge = true;