[flutter_runner] Fix crasher in code that handles a missing handler
Change-Id: I7165d2bf13775cb68e2124b8e643ef52869527ee
diff --git a/runtime/flutter_runner/platform_view.cc b/runtime/flutter_runner/platform_view.cc
index f21d7f7..1aad5bb 100644
--- a/runtime/flutter_runner/platform_view.cc
+++ b/runtime/flutter_runner/platform_view.cc
@@ -655,11 +655,11 @@
}
auto found = platform_message_handlers_.find(message->channel());
if (found == platform_message_handlers_.end()) {
- FML_DLOG(ERROR)
+ FML_LOG(ERROR)
<< "Platform view received message on channel '" << message->channel()
<< "' with no registed handler. And empty response will be generated. "
"Please implement the native message handler.";
- PlatformView::HandlePlatformMessage(std::move(message));
+ shell::PlatformView::HandlePlatformMessage(std::move(message));
return;
}
found->second(std::move(message));