refactor: fix modernize-return-braced-init-list warnings (#44838) * refactor: avoid repeating the return type from the declaration; use a braced initializer list instead [modernize-return-braced-init-list] * refactor: avoid repeating the return type from the declaration; use a braced initializer list instead [modernize-return-braced-init-list] NB: using the braced-initializer list uncovered an error here: the float returned by std::floor() can't be implicitly cast to an int. This is solved by using base::ClampFloor<int>() instead. std::floor() |
||
|---|---|---|
| .. | ||
| osr_host_display_client.cc | ||
| osr_host_display_client.h | ||
| osr_host_display_client_mac.mm | ||
| osr_render_widget_host_view.cc | ||
| osr_render_widget_host_view.h | ||
| osr_video_consumer.cc | ||
| osr_video_consumer.h | ||
| osr_view_proxy.cc | ||
| osr_view_proxy.h | ||
| osr_web_contents_view.cc | ||
| osr_web_contents_view.h | ||
| osr_web_contents_view_mac.mm | ||