Revert "Ensure language and country codes are not empty" (flutter/engine#4494)

This commit is contained in:
Zachary Anderson
2017-12-22 15:00:42 -08:00
committed by Chinmay Garde
parent 9088f515c3
commit 5d14a2a64f
2 changed files with 2 additions and 4 deletions

View File

@@ -66,8 +66,8 @@ class RuntimeController : public WindowClient, public IsolateClient {
void DidShutdownMainIsolate() override;
RuntimeDelegate* client_;
std::string language_code_ = "en";
std::string country_code_ = "US";
std::string language_code_;
std::string country_code_;
std::string user_settings_data_ = "{}";
bool semantics_enabled_ = false;
std::unique_ptr<DartController> dart_controller_;

View File

@@ -118,8 +118,6 @@ 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),