[fuchsia][scenic] Accept Uint64 values in timestamp for pointerinjector. (flutter/engine#34888)

This commit is contained in:
Shivesh Ganju
2022-07-25 12:38:04 -04:00
committed by GitHub
parent dd210b36cf
commit 6e77f13db8

View File

@@ -129,7 +129,7 @@ bool PointerInjectorDelegate::HandlePlatformMessage(
}
auto timestamp = args.FindMember("timestamp");
if (!timestamp->value.IsInt()) {
if (!timestamp->value.IsInt() && !timestamp->value.IsUint64()) {
FML_LOG(ERROR) << "Argument 'timestamp' is not a int";
return false;
}