Closed mihaip closed 8 months ago
LGTM except fbce00c that includes unrelated changes to set_fatal_handler()
. Please split them into separate commits.
I'd replace those out-of-bounds checks with asserts so the proper API usage is ensured but the production code won't include them.
LGTM except fbce00c that includes unrelated changes to
set_fatal_handler()
. Please split them into separate commits.
Good point, done.
I'd replace those out-of-bounds checks with asserts so the proper API usage is ensured but the production code won't include them.
I switched them to DCHECK_F
, is that what you had in mind (I didn't see any other uses of that macro)?
Everything looks good here. If no one objects to the use of DCHECK_F, I'll merge it.
I thought it would be easier to start with a few small commits. Once I understand the process better, I can do bigger ones like ADB keyboard support.
The commits are not related (and should not be squashed when merging). This saves me some boilerplate with branch/PR creation, but happy to do them as separate PRs if you prefer.