libcef/browser/osr/motion_event_osr.cc
// Reset unchanged touch point to StateStationary for touchmove and touchcancel.
Reset unchanged touch point to StateStationary for touchmove and touchcancel.
Reset unchanged touch point to StateStationary for touchmove and touchcancel .
void CefMotionEventOSR::MarkUnchangedTouchPointsAsStationary(
    blink::WebTouchEvent* event,
    const CefTouchEvent& cef_event) {
  int id = LookupId(cef_event.id);
  if (event->GetType() == blink::WebInputEvent::Type::kTouchMove ||
      event->GetType() == blink::WebInputEvent::Type::kTouchCancel) {
    for (size_t i = 0; i < event->touches_length; ++i) {
      if (event->touches[i].id != id)
        event->touches[i].state = blink::WebTouchPoint::State::kStateStationary;
    }
  }
}
void CefMotionEventOSR :: MarkUnchangedTouchPointsAsStationary ( blink :: WebTouchEvent * event , const CefTouchEvent & cef_event ) { int id = LookupId ( cef_event . id ) ; if ( event -> GetType ( ) == blink :: WebInputEvent :: Type :: kTouchMove || event -> GetType ( ) == blink :: WebInputEvent :: Type :: kTouchCancel ) { for ( size_t i = 0 ; i < event -> touches_length ; ++ i ) { if ( event -> touches [ i ] . id != id ) event -> touches [ i ] . state = blink :: WebTouchPoint :: State :: kStateStationary ; } } }
Reset unchanged touch point to StateStationary for touchmove and touchcancel.
Reset unchanged touch point to StateStationary for touchmove and touchcancel .