If this had been a popup, it would have been an infield fly. The hitter would have been out, and the runners would not be forced to advance.
That way an infielder couldn’t drop the ball on purpose to get two outs, because no runner would risk advancing.
You can’t call an infield fly on a line drive.
If you mean...when…