mirror of
https://github.com/electron/electron.git
synced 2026-01-22 13:58:01 -05:00
* feat: add gin_helper::Dictionary::ValueOrDefault() A convenience function for using a default value if the specified key isn't present in the dictionary. Co-authored-by: Charles Kerr <charles@charleskerr.com> * refactor: use ValueOrDefault() in native_window.cc Co-authored-by: Charles Kerr <charles@charleskerr.com> * refactor: use ValueOrDefault() in native_window_mac.mm Co-authored-by: Charles Kerr <charles@charleskerr.com> * refactor: use ValueOrDefault() in native_window_views.cc Co-authored-by: Charles Kerr <charles@charleskerr.com> * refactor: use ValueOrDefault() in electron_api_native_image.cc 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>