b428315c6d
* perf: remove unnecessary c_str() call when invoking promise.RejectWithErrorMessage()
RejectWithErrorMessage() takes a std::string_view
* perf: remove unnecessary c_str() call when invoking Environment::SetVar()
the val arg to Environment::SetVar() takes a const std::string&
* refactor: use string_view variant of base::UTF8ToWide()
* perf: remove unnecessary c_str() call when instantiating a ScopedHString
ScopedHString has always taken a StringPiece
* refactor: use simpler invocation of base::make_span()
* perf: remove unnecessary c_str() call when calling base::CommandLine::HasSwitch()
HasSwitch() already takes a string_piece
* perf: remove unnecessary c_str() call when calling net::HttpResponseHeaders::AddHeader()
AddHeader() already takes a StringPiece arg
* perf: omit unnecessary str -> wstr -> str conversion in DesktopCapturer::UpdateSourcesList()
this conversion was made redundant by
|
||
---|---|---|
.. | ||
api.mojom | ||
BUILD.gn | ||
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_key_weak_map.h | ||
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 | ||
object_life_monitor.cc | ||
object_life_monitor.h |