From a27585aa36338a13a241e786d2c605198397648b Mon Sep 17 00:00:00 2001 From: Michael Goderbauer Date: Thu, 6 Oct 2022 10:49:51 -0700 Subject: [PATCH 1/2] Fix kPointerDataFieldCount reference --- lib/ui/window/pointer_data.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/ui/window/pointer_data.h b/lib/ui/window/pointer_data.h index 7a57f176ebbb9..a2ffc49f222c8 100644 --- a/lib/ui/window/pointer_data.h +++ b/lib/ui/window/pointer_data.h @@ -9,7 +9,7 @@ namespace flutter { -// If this value changes, update the pointer data unpacking code in hooks.dart. +// If this value changes, update the pointer data unpacking code in platform_dispatcher.dart. static constexpr int kPointerDataFieldCount = 35; static constexpr int kBytesPerField = sizeof(int64_t); // Must match the button constants in events.dart. From 45651f1ae71369332794117385afb384f6b7ab9e Mon Sep 17 00:00:00 2001 From: Michael Goderbauer Date: Thu, 6 Oct 2022 13:39:17 -0700 Subject: [PATCH 2/2] Update lib/ui/window/pointer_data.h --- lib/ui/window/pointer_data.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/ui/window/pointer_data.h b/lib/ui/window/pointer_data.h index a2ffc49f222c8..1f323cc4f8169 100644 --- a/lib/ui/window/pointer_data.h +++ b/lib/ui/window/pointer_data.h @@ -9,7 +9,8 @@ namespace flutter { -// If this value changes, update the pointer data unpacking code in platform_dispatcher.dart. +// If this value changes, update the pointer data unpacking code in +// platform_dispatcher.dart. static constexpr int kPointerDataFieldCount = 35; static constexpr int kBytesPerField = sizeof(int64_t); // Must match the button constants in events.dart.