diff --git a/runtime/runtime_controller.h b/runtime/runtime_controller.h index d70bb177c8131c9467f2ebc0538834858704acb0..c337c724b8079877bf812ff1c3e7aa831f02107a 100644 --- a/runtime/runtime_controller.h +++ b/runtime/runtime_controller.h @@ -66,8 +66,8 @@ class RuntimeController : public WindowClient, public IsolateClient { void DidShutdownMainIsolate() override; RuntimeDelegate* client_; - std::string language_code_; - std::string country_code_; + std::string language_code_ = "en"; + std::string country_code_ = "US"; std::string user_settings_data_ = "{}"; bool semantics_enabled_ = false; std::unique_ptr dart_controller_; diff --git a/shell/common/engine.cc b/shell/common/engine.cc index 9f63afdf0ef7ad1fe120ca785a77e2cde2335685..f779143df488aaf0e102bf13b782937d2b0f4d51 100644 --- a/shell/common/engine.cc +++ b/shell/common/engine.cc @@ -118,6 +118,8 @@ Engine::Engine(PlatformView* platform_view) platform_view->GetVsyncWaiter(), this)), load_script_error_(tonic::kNoError), + language_code_("en"), + country_code_("US"), user_settings_data_("{}"), activity_running_(false), have_surface_(false),