Yet according Nature 2005 crocodiles have warm-blooded ancestors.
"Might have had." From the article linked to:
There is little agreement among experts about the body temperature of dinosaurs, and without significant new fossils direct evidence is unlikely. That leaves the question in the camp of comparative physiologists who study the working of extant animals in hopes of deducing the function of animals long since turned to dust.