Remove ax::mojom::Role::kMaxValue from switch statement.
Per Mojo docs (//mojo/public/cpp/bindings/README.md#Enums), kMaxValue shares the value of the highest enumerator of the enum. In this case, it shares the value of kWindow, that means kWindow is not being dealt with in that switch statement. Bug: None Change-Id: I44a14426772b4b0e3e804e891cf2197a96650088 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2132159Reviewed-by:Dominic Mazzoni <dmazzoni@chromium.org> Commit-Queue: Jacobo Aragunde Pérez <jaragunde@igalia.com> Cr-Commit-Position: refs/heads/master@{#756194}
Showing
Please register or sign in to comment