mirror of https://github.com/electron/electron
5d0d15a0b3
* perf: prefer NewFromUtf8Literal() over NewFromUtf8() for string literals the string length is known at compile time and no need to call ToLocalChecked() * perf: string length is known when calling NewFromUtf8(), so use it * perf: remove unnecessary calls to c_str() these just force the code being called to have to recalculate the string length |
||
---|---|---|
.. | ||
context_bridge | ||
electron_api_context_bridge.cc | ||
electron_api_context_bridge.h | ||
electron_api_crash_reporter_renderer.cc | ||
electron_api_ipc_renderer.cc | ||
electron_api_spell_check_client.cc | ||
electron_api_spell_check_client.h | ||
electron_api_web_frame.cc | ||
electron_api_web_utils.cc | ||
electron_api_web_utils.h |