OSDN Git Service

fix Region const_iterator.
authorMathias Agopian <mathias@google.com>
Tue, 17 Apr 2012 01:40:30 +0000 (18:40 -0700)
committerMathias Agopian <mathias@google.com>
Tue, 17 Apr 2012 01:40:30 +0000 (18:40 -0700)
commit3aecbb0715cb6928e0530ff1e4caa9c0993cc371
treefa74d2ee33fab79da3a3c96b3a4721f6949392a6
parent0c8ecacb370b5f7ee6f0fc1fb2ae978f9b670c6d
fix Region const_iterator.

- it returned an empty rect when the region was empty, instead
of returning an empty list of rect.

- also fixed an infinite loop when boolean_operation was given
an empty list of rects

Change-Id: I62225c7dcd2832025bb8f12e6cb3762f2a7b36cb
include/private/ui/RegionHelper.h
libs/ui/Region.cpp