DoorDash and others already pad food prices in addition to service fees. This will just make them add $3 to the itemized cost of a pizza while lowering the delivery fee, fixing nothing.
Actually I think restaurants were doing that in some cases to make up for the cut Doordash was taking from them, so now instead the cost should be reflected in the fees to user (theoretically)