Logan Webb pitched four-hit ball over eight innings and Luke Williams doubled home the only runs he needed as the San Francisco Giants beat the San Diego Padres, 2-1, Wednesday.