diff options
author | Michal Klocek <michal.klocek@qt.io> | 2022-03-23 20:22:06 +0100 |
---|---|---|
committer | Allan Sandfeld Jensen <allan.jensen@qt.io> | 2022-03-29 08:19:23 +0000 |
commit | 2e196aa7cf5e96a2d3e413d3c536cf5b48488554 (patch) | |
tree | d248011f85cc8e03ac3b9a96fdfadf958139cd52 | |
parent | f787d5be5e3aa344a91bc0f6b8dcb5b49db12bc4 (diff) | |
download | qtwebengine-chromium-2e196aa7cf5e96a2d3e413d3c536cf5b48488554.tar.gz |
Do not initialize default locale in local isolate
The patch https://chromium-review.googlesource.com/c/v8/v8/+/3268465
made a default locale moved to local isolate.
This will break resetting the default locale while application runs.
Do not internalize the default locale in local isolate and let it
be lazy initialized directly from icu.
Change-Id: I2dbe757bdd47b0b6bc0fb7be757235475f96e0a2
Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
-rw-r--r-- | chromium/v8/src/execution/local-isolate.cc | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/chromium/v8/src/execution/local-isolate.cc b/chromium/v8/src/execution/local-isolate.cc index c3dd70718b0..1a5403cc957 100644 --- a/chromium/v8/src/execution/local-isolate.cc +++ b/chromium/v8/src/execution/local-isolate.cc @@ -28,10 +28,6 @@ LocalIsolate::LocalIsolate(Isolate* isolate, ThreadKind kind, runtime_call_stats == nullptr ? isolate->counters()->runtime_call_stats() : runtime_call_stats) -#ifdef V8_INTL_SUPPORT - , - default_locale_(isolate->DefaultLocale()) -#endif { } |