What did disposable razor blades replace?

The straight razor.