[flutter] Mozart API changed (#3504)

Updating SetListener to SetEventListener which comes with a new SetHitViewTester
This commit is contained in:
Jêrôme Poichet 2017-03-23 10:51:08 -07:00 committed by GitHub
parent 88ffaa77b4
commit ae9ad39659

View File

@ -138,7 +138,7 @@ void RuntimeHolder::CreateView(
ConnectToService(view_services.get(), GetProxy(&input_connection_));
mozart::InputListenerPtr input_listener;
input_listener_binding_.Bind(GetProxy(&input_listener));
input_connection_->SetListener(std::move(input_listener));
input_connection_->SetEventListener(std::move(input_listener));
#if FLUTTER_ENABLE_VULKAN
direct_input_ = std::make_unique<DirectInput>(