From 000e95e7ebf1a60bbb7fda604b54092f45c87f89 Mon Sep 17 00:00:00 2001 From: Mathias Agopian Date: Mon, 19 Sep 2011 16:00:46 -0700 Subject: [PATCH] fix the float Rect in OpenGLRenderer to handle NANs - we want functions like isEmpty() to return true if NANs are involved in the Rect - also clean-up the intersect familly of calls - minor cleanup in the int32_t Rect as well These played a role in http://b/5331198. Bug: 5331198 Change-Id: I5369725ab482e4b83da9f1bd4cee5256e5de75b2 --- include/ui/Rect.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/ui/Rect.h b/include/ui/Rect.h index 4e65a2d0b..9e98bc562 100644 --- a/include/ui/Rect.h +++ b/include/ui/Rect.h @@ -27,7 +27,7 @@ namespace android { class Rect : public ARect { public: - typedef int32_t value_type; + typedef ARect::value_type value_type; // we don't provide copy-ctor and operator= on purpose // because we want the compiler generated versions