mirror of
https://github.com/electron/electron.git
synced 2026-01-09 15:38:08 -05:00
* fix: remove use of deprecated v8::String::Value Upstream marked v8::String::Value as `V8_DEPRECATE_SOON` last month, so let's stop using it. The replacement code mostly does the same as v8::String::Value(); but since our test only cares about the length and not the contents, we get a small perf win of not needing to allocate a char array and not needing to call Local::String::Write(). Upstream V8_DEPRECATE_SOON: Xref: https://chromium-review.googlesource.com/c/v8/v8/+/5667299kkk v8::String::Value() implementation:20226b740b/src/api/api.cc (10883)History on why we used it:80c1a9739df49ed30f72* Update shell/common/gin_converters/file_path_converter.h Co-authored-by: Robo <hop2deep@gmail.com> * fixup! Update shell/common/gin_converters/file_path_converter.h do not return success for all non-Null non-Strings --------- Co-authored-by: Robo <hop2deep@gmail.com>
1.2 KiB
1.2 KiB