I think flip-flopping in politics is often a politician changing his view in a short amount of time and not admitting to the prior held view.
If a politician changes his view and publicly states that he held a very different view before but he was swayed by x, y, and z then I think nobody would accuse them of flip-flopping.