99f2bab4a4
* 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> |
||
---|---|---|
.. | ||
api.mojom | ||
crashpad_support.cc | ||
electron_api_asar.cc | ||
electron_api_clipboard.cc | ||
electron_api_clipboard.h | ||
electron_api_clipboard_mac.mm | ||
electron_api_command_line.cc | ||
electron_api_environment.cc | ||
electron_api_native_image.cc | ||
electron_api_native_image.h | ||
electron_api_native_image_mac.mm | ||
electron_api_native_image_win.cc | ||
electron_api_net.cc | ||
electron_api_shell.cc | ||
electron_api_testing.cc | ||
electron_api_url_loader.cc | ||
electron_api_url_loader.h | ||
electron_api_v8_util.cc | ||
electron_bindings.cc | ||
electron_bindings.h | ||
features.cc |