McCain was pro-immigration reform, Romney was so ha%^@$$d the other way that even Trump thought it was too far.
Glad someone mentioned this.
Romney defined his path to the national spotlight on the back of the immigration issue. He ran as the suburban conservative, who was against amnesty for illegals. This positioned him to the right of McCain, Rudy and Fred Thompson, but left him exposed with rural populists, which is how Huckabee came into the mix.
If you look at the maps in close primary states like GA for instance and Missouri, The suburbs were often Romney versus McCain, while the rural areas were McCain versus Huckabee. At the time, immigration hawks were centered mostly in suburbs in places like Socal, Phoenix, Denver, Atlanta, Charlotte etc. These areas have mostly flipped now and the rise in racial tensions with migrant labor in more rural counties, has created new bases for this like Luzerne and Berks County, PA. Romney was the last gasp for crime conscious suburbanites and his approach to the immigration issue was primarily a law and order one and less economic, whereas Trump's approach was more economically populist in its immigration arguments.