electron/shell/browser/osr
trop[bot] cd6e3d720f
refactor: fix modernize-return-braced-init-list warnings (#44857)
* refactor: avoid repeating the return type from the declaration; use a braced initializer list instead [modernize-return-braced-init-list]

Co-authored-by: Charles Kerr <charles@charleskerr.com>

* 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()

Co-authored-by: Charles Kerr <charles@charleskerr.com>

---------

Co-authored-by: trop[bot] <37223003+trop[bot]@users.noreply.github.com>
Co-authored-by: Charles Kerr <charles@charleskerr.com>
2024-11-26 22:18:00 -06:00
..
osr_host_display_client.cc feat: GPU shared texture offscreen rendering (33-x-y) (#44511) 2024-11-07 09:41:09 -05:00
osr_host_display_client.h feat: GPU shared texture offscreen rendering (33-x-y) (#44511) 2024-11-07 09:41:09 -05:00
osr_host_display_client_mac.mm feat: GPU shared texture offscreen rendering (33-x-y) (#44511) 2024-11-07 09:41:09 -05:00
osr_paint_event.cc feat: GPU shared texture offscreen rendering (33-x-y) (#44511) 2024-11-07 09:41:09 -05:00
osr_paint_event.h feat: GPU shared texture offscreen rendering (33-x-y) (#44511) 2024-11-07 09:41:09 -05:00
osr_render_widget_host_view.cc refactor: fix modernize-return-braced-init-list warnings (#44857) 2024-11-26 22:18:00 -06:00
osr_render_widget_host_view.h feat: GPU shared texture offscreen rendering (33-x-y) (#44511) 2024-11-07 09:41:09 -05:00
osr_video_consumer.cc feat: GPU shared texture offscreen rendering (33-x-y) (#44511) 2024-11-07 09:41:09 -05:00
osr_video_consumer.h feat: GPU shared texture offscreen rendering (33-x-y) (#44511) 2024-11-07 09:41:09 -05:00
osr_view_proxy.cc refactor: inline simple getters (#41125) 2024-01-29 20:43:28 -06:00
osr_view_proxy.h chore: remove more unused #include calls (#43000) 2024-07-25 11:25:45 +02:00
osr_web_contents_view.cc feat: GPU shared texture offscreen rendering (33-x-y) (#44511) 2024-11-07 09:41:09 -05:00
osr_web_contents_view.h feat: GPU shared texture offscreen rendering (33-x-y) (#44511) 2024-11-07 09:41:09 -05:00
osr_web_contents_view_mac.mm chore: bump chromium to 117.0.5923.0 (main) (#39304) 2023-08-04 10:47:29 +02:00