diff --git a/sky/shell/platform/mojo/BUILD.gn b/sky/shell/platform/mojo/BUILD.gn index fa189230042509ddc851968f83f9666b3613c2a5..4e1afe07f570a16133259054cde3c91d6c8a81b5 100644 --- a/sky/shell/platform/mojo/BUILD.gn +++ b/sky/shell/platform/mojo/BUILD.gn @@ -6,7 +6,7 @@ import("//mojo/public/mojo_application.gni") import("//mojo/public/tools/bindings/mojom.gni") mojo_native_application("mojo") { - output_name = "sky_shell" + output_name = "flutter" sources = [ "content_handler_impl.cc", diff --git a/sky/shell/platform/mojo/platform_view_mojo.cc b/sky/shell/platform/mojo/platform_view_mojo.cc index b1ae1d14e20c963c76d86c6f655113029fc9dae8..5c9edc26fe31f1f06c46fd028897fa9620826d18 100644 --- a/sky/shell/platform/mojo/platform_view_mojo.cc +++ b/sky/shell/platform/mojo/platform_view_mojo.cc @@ -122,7 +122,9 @@ void PlatformViewMojo::OnEvent(mojo::EventPtr event, if (!data) break; pointer::PointerPtr pointer = pointer::Pointer::New(); - pointer->time_stamp = event->time_stamp; + // TODO(abarth): Sort out the units for time_stamp. + // See https://github.com/domokit/mojo/issues/541 + pointer->time_stamp = event->time_stamp / 1000; pointer->pointer = data->pointer_id; pointer->type = GetTypeFromAction(event->action); pointer->kind = GetKindFromKind(data->kind);