mirror of
https://bitbucket.org/chromiumembedded/cef
synced 2025-06-05 21:39:12 +02:00
tests: Format with clang-tidy (see #3632)
This commit is contained in:
@@ -353,8 +353,8 @@ bool IsAllowedAppMenuCommandId(int command_id) {
|
||||
IDC_OPTIONS,
|
||||
IDC_EXIT,
|
||||
};
|
||||
for (size_t i = 0; i < std::size(kAllowedCommandIds); ++i) {
|
||||
if (command_id == kAllowedCommandIds[i]) {
|
||||
for (int kAllowedCommandId : kAllowedCommandIds) {
|
||||
if (command_id == kAllowedCommandId) {
|
||||
return true;
|
||||
}
|
||||
}
|
||||
@@ -397,8 +397,8 @@ bool IsAllowedContextMenuCommandId(int command_id) {
|
||||
IDC_CONTENT_CONTEXT_UNDO,
|
||||
IDC_CONTENT_CONTEXT_REDO,
|
||||
};
|
||||
for (size_t i = 0; i < std::size(kAllowedCommandIds); ++i) {
|
||||
if (command_id == kAllowedCommandIds[i]) {
|
||||
for (int kAllowedCommandId : kAllowedCommandIds) {
|
||||
if (command_id == kAllowedCommandId) {
|
||||
return true;
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user