electron/shell/renderer
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
..
api refactor: fix modernize-return-braced-init-list warnings (#44857) 2024-11-26 22:18:00 -06:00
extensions chore: bump chromium to 129.0.6664.0 (main) (#43329) 2024-08-19 14:52:53 -04:00
printing refactor: fix modernize-return-braced-init-list warnings (#44857) 2024-11-26 22:18:00 -06:00
resources/mac fix: disable MallocNanoZone on mac (#33704) 2022-04-28 10:28:27 -04:00
browser_exposed_renderer_interfaces.cc chore: remove more unused #include calls (#43000) 2024-07-25 11:25:45 +02:00
browser_exposed_renderer_interfaces.h chore: add ELECTRON_ prefix to C++ include guards (#31925) 2021-11-22 16:34:31 +09:00
content_settings_observer.cc chore: remove unused #includes (#42971) 2024-07-22 11:31:32 +02:00
content_settings_observer.h chore: remove unused #includes (#42971) 2024-07-22 11:31:32 +02:00
electron_api_service_impl.cc fix: -Wunsafe-buffer-usage warning in ChunkedDataPipeReadableStream (#44223) 2024-10-14 11:37:40 -05:00
electron_api_service_impl.h chore: remove unused #includes (#42971) 2024-07-22 11:31:32 +02:00
electron_autofill_agent.cc chore: bump chromium to 127.0.6521.0 (main) (#42118) 2024-06-07 17:18:35 -04:00
electron_autofill_agent.h refactor: prefer to inherit observer classes privately (#41360) 2024-05-21 14:21:31 -05:00
electron_render_frame_observer.cc chore: use v8::Local<>, not v8::Handle<> (#43019) 2024-07-24 18:24:07 -05:00
electron_render_frame_observer.h chore: use v8::Local<>, not v8::Handle<> (#43019) 2024-07-24 18:24:07 -05:00
electron_renderer_client.cc fix: EventSource undefined in Renderer/Worker (#44496) 2024-10-31 17:16:36 -05:00
electron_renderer_client.h chore: use v8::Local<>, not v8::Handle<> (#43019) 2024-07-24 18:24:07 -05:00
electron_sandboxed_renderer_client.cc perf: prefer NewFromUtf8Literal() over NewFromUtf8() for string literals (#44429) 2024-10-28 11:06:10 -05:00
electron_sandboxed_renderer_client.h chore: use v8::Local<>, not v8::Handle<> (#43019) 2024-07-24 18:24:07 -05:00
renderer_client_base.cc fix: modernize-use-nodiscard clang-tidy warnings (#44832) 2024-11-25 11:47:00 -06:00
renderer_client_base.h chore: bump chromium to 129.0.6664.0 (main) (#43329) 2024-08-19 14:52:53 -04:00
web_worker_observer.cc fix: EventSource undefined in Renderer/Worker (#44496) 2024-10-31 17:16:36 -05:00
web_worker_observer.h chore: more iwyu (#43063) 2024-07-29 12:42:57 -05:00