electron/shell/browser/osr
trop[bot] 99f2bab4a4
refactor: fix modernize-return-braced-init-list warnings (#44856)
* 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:13 -06:00
..
osr_host_display_client.cc feat: GPU shared texture offscreen rendering (#42953) 2024-08-22 19:23:13 -05:00
osr_host_display_client.h feat: GPU shared texture offscreen rendering (#42953) 2024-08-22 19:23:13 -05:00
osr_host_display_client_mac.mm feat: GPU shared texture offscreen rendering (#42953) 2024-08-22 19:23:13 -05:00
osr_paint_event.cc feat: GPU shared texture offscreen rendering (#42953) 2024-08-22 19:23:13 -05:00
osr_paint_event.h feat: GPU shared texture offscreen rendering (#42953) 2024-08-22 19:23:13 -05:00
osr_render_widget_host_view.cc refactor: fix modernize-return-braced-init-list warnings (#44856) 2024-11-26 22:18:13 -06:00
osr_render_widget_host_view.h refactor: remove C-style void arg type for no-arg functions (#43884) 2024-09-23 22:37:32 -07:00
osr_video_consumer.cc feat: GPU shared texture offscreen rendering (#42953) 2024-08-22 19:23:13 -05:00
osr_video_consumer.h feat: GPU shared texture offscreen rendering (#42953) 2024-08-22 19:23:13 -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 (#42953) 2024-08-22 19:23:13 -05:00
osr_web_contents_view.h chore: bump chromium to 132.0.6807.0 (34-x-y) (#44361) 2024-11-04 14:47:15 -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