From 068d47f29dfead847999a7b33b4217ee9514152b Mon Sep 17 00:00:00 2001 From: Mathias Agopian Date: Tue, 11 Sep 2012 18:56:23 -0700 Subject: strengthen region validation Change-Id: I75ee7bc4dd7a2f5357ac8994a23bc8b8bfb6eb44 --- include/private/ui/RegionHelper.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include/private') diff --git a/include/private/ui/RegionHelper.h b/include/private/ui/RegionHelper.h index 421bdda..8c190dd 100644 --- a/include/private/ui/RegionHelper.h +++ b/include/private/ui/RegionHelper.h @@ -26,10 +26,10 @@ namespace android { template class region_operator { +public: typedef typename RECT::value_type TYPE; static const TYPE max_value = 0x7FFFFFF; -public: /* * Common boolean operations: * value is computed as 0b101 op 0b110 -- cgit v1.1