//ui/gfx/mojo/buffer_types.mojom: Remove unnecessary _LAST enum values.
Mojo provides predefined kMaxValue for circumstances where these sorts of values would be useful, so defining _LAST is redundant. In this case, it's only used to handle the NOTREACHED() case in the enum traits; just map the NOTREACHED() case to something arbitrary. Change-Id: Ieaca8b83f051f75f64071542c6135a0ddaca8544 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1570735 Commit-Queue: Daniel Cheng <dcheng@chromium.org> Auto-Submit: Daniel Cheng <dcheng@chromium.org> Reviewed-by:Daniele Castagna <dcastagna@chromium.org> Cr-Commit-Position: refs/heads/master@{#652445}
Showing
Please register or sign in to comment