Skip to content

Commit c91f2ce

Browse files
committed
Pass ICU data to Node Start
Ref: nwjs#6448
1 parent 6d34eb9 commit c91f2ce

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/renderer/nw_extensions_renderer_hooks.cc

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
#include "base/files/file_util.h"
99
#include "base/json/json_writer.h"
1010
#include "base/logging.h"
11+
#include "base/i18n/icu_util.h"
1112
#include "base/strings/utf_string_conversions.h"
1213
#include "base/threading/thread.h"
1314
#include "base/values.h"
@@ -239,7 +240,7 @@ void ContextCreationHook(blink::WebLocalFrame* frame, ScriptContext* context) {
239240
dom_context->SetSecurityToken(v8::String::NewFromUtf8(isolate, "nw-token"));
240241
dom_context->Enter();
241242

242-
g_start_nw_instance_fn(argc, argv, dom_context);
243+
g_start_nw_instance_fn(argc, argv, dom_context, (void*)base::i18n::GetRawIcuMemory());
243244
{
244245
#if defined(NWJS_SDK)
245246
std::string flavor = "sdk";

0 commit comments

Comments
 (0)