Since this returns a struct containing both a mapping and a region, it's not always clear what the best way to check for error is--so some code actually checks that both objects are valid. I would assume that they're either both valid or both invalid though...
Maybe we should wrap it in an Optional? (This was inspired when reviewing https://chromium-review.googlesource.com/c/chromium/src/+/1055202)
Comment 1 by digit@google.com
, May 21 2018