Merge "fix a typo that prevented preserveRects() to work properly"

This commit is contained in:
Mathias Agopian 2011-07-25 19:51:31 -07:00 committed by Android (Google) Code Review
commit e4a8ac1019

View File

@ -308,7 +308,7 @@ uint32_t Transform::getOrientation() const
bool Transform::preserveRects() const
{
return (type() & ROT_INVALID) ? false : true;
return (getOrientation() & ROT_INVALID) ? false : true;
}
void Transform::dump(const char* name) const