refactor: chromium-style warnings in linux code (#12949)
This commit is contained in:
parent
2a161e1725
commit
da0fd10423
21 changed files with 41 additions and 36 deletions
|
@ -61,7 +61,7 @@ bool SetDefaultWebClient(const std::string& protocol) {
|
|||
|
||||
void Browser::Focus() {
|
||||
// Focus on the first visible window.
|
||||
for (const auto& window : WindowList::GetWindows()) {
|
||||
for (auto* const window : WindowList::GetWindows()) {
|
||||
if (window->IsVisible()) {
|
||||
window->Focus(true);
|
||||
break;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue