What did the theory of plate tectonics replace?

The theory of plate tectonics replaced the theory of sea floor spreading.