diff --git a/runtime/runtime_controller.h b/runtime/runtime_controller.h index d70bb177c81..c337c724b80 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 9f63afdf0ef..f779143df48 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),