chore: Annotate fallthrough switch paths with FALLTHROUGH
The compiler was throwing errors about unannotated fallthroughs when building with GN.
This commit is contained in:
parent
3f40e93ba7
commit
8ccb5cc6eb
4 changed files with 26 additions and 2 deletions
|
@ -220,6 +220,7 @@ void WebDialogHelper::RunFileChooser(
|
|||
switch (params.mode) {
|
||||
case content::FileChooserParams::OpenMultiple:
|
||||
flags |= file_dialog::FILE_DIALOG_MULTI_SELECTIONS;
|
||||
FALLTHROUGH;
|
||||
case content::FileChooserParams::Open:
|
||||
flags |= file_dialog::FILE_DIALOG_OPEN_FILE;
|
||||
flags |= file_dialog::FILE_DIALOG_TREAT_PACKAGE_APP_AS_DIRECTORY;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue