Unverified Commit b39949ff authored by Chris Bracken's avatar Chris Bracken Committed by GitHub

Fix parameter name: handlePointerEvent (#45717)

Removes an unnecessary leading underscore from a parameter name. The
parameter type is library private, but parameters cannot be 'private'.
parent 264082f3
...@@ -787,7 +787,7 @@ mixin _PlatformViewGestureMixin on RenderBox { ...@@ -787,7 +787,7 @@ mixin _PlatformViewGestureMixin on RenderBox {
/// ///
/// Any active gesture arena the `PlatformView` participates in is rejected when the /// Any active gesture arena the `PlatformView` participates in is rejected when the
/// set of gesture recognizers is changed. /// set of gesture recognizers is changed.
void _updateGestureRecognizersWithCallBack(Set<Factory<OneSequenceGestureRecognizer>> gestureRecognizers, _HandlePointerEvent _handlePointerEvent) { void _updateGestureRecognizersWithCallBack(Set<Factory<OneSequenceGestureRecognizer>> gestureRecognizers, _HandlePointerEvent handlePointerEvent) {
assert(gestureRecognizers != null); assert(gestureRecognizers != null);
assert( assert(
_factoriesTypeSet(gestureRecognizers).length == gestureRecognizers.length, _factoriesTypeSet(gestureRecognizers).length == gestureRecognizers.length,
...@@ -797,7 +797,7 @@ mixin _PlatformViewGestureMixin on RenderBox { ...@@ -797,7 +797,7 @@ mixin _PlatformViewGestureMixin on RenderBox {
return; return;
} }
_gestureRecognizer?.dispose(); _gestureRecognizer?.dispose();
_gestureRecognizer = _PlatformViewGestureRecognizer(_handlePointerEvent, gestureRecognizers); _gestureRecognizer = _PlatformViewGestureRecognizer(handlePointerEvent, gestureRecognizers);
} }
_PlatformViewGestureRecognizer _gestureRecognizer; _PlatformViewGestureRecognizer _gestureRecognizer;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment