The answer is simple. The same thing animals today eat which includes each other or plants. There were dinosaurs that hunted each other, some that ate the dead bodies of others, and some that just ate plants. Just like politics! Could you imagine animals of their size fighting against each other for survival? It would have been a great thing to see, at least in movies anyways. The animals of today would have no way of competing with them.