New York City, the state of California and other jurisdictions also passed laws banning the use of trans fats in restaurants and other food service establishments.As a result, packaged food makers have largely eliminated their use of trans fat and high-profile restaurant chains like McDonald's Corp have switched to trans fat-free oils.