commit | 6aae18af1d33ceaf6f8828479b1fcfe470871462 | [log] [tgz] |
---|---|---|
author | Robert Carr <racarr@google.com> | Wed Aug 15 11:52:09 2018 -0700 |
committer | Robert Carr <racarr@google.com> | Mon Aug 27 18:14:20 2018 -0700 |
tree | 7b4077cccdd3b9cbae6fc193d4a6598729eb57a3 | |
parent | 6b3f6c50b0161ce6e43234807b19f6338ab59505 [diff] |
Mark non-inplace Region operations WARN_UNUSED Since the Java side equivalents operate in-place it can be easy to assume Region.translate(x,y) will have some effect whereas it is in fact a no-op unless the return value is stored. Use WARN_UNUSED to help developers with this. Test: None Change-Id: Idfd5b8b68dc144acaae62bd732eecdac7a745197