Another general counsel is rising up from the legal department to take over as CEO of a major company.