Answer:
The Speaker of the House of Representatives is next in line.
If the vice president were to die OR RESIGN in the same term after taking over for the president, the Speaker becomes president.
(I can't remember who it was but there was only one time where this happened.)