He famously quit smoking while playing the role of Iron Man in the Marvel Cinematic Universe. The character, Tony Stark, also famously quit smoking, and Downey Jr. used lollipops to help him cope with the cravings.
This resulted in a significant increase in lollipop sales, as fans emulated the actor and character.