From 2e196aa7cf5e96a2d3e413d3c536cf5b48488554 Mon Sep 17 00:00:00 2001 From: Michal Klocek Date: Wed, 23 Mar 2022 20:22:06 +0100 Subject: 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 --- chromium/v8/src/execution/local-isolate.cc | 4 ---- 1 file changed, 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 { } -- cgit v1.2.1