Protesters against the bill , some wearing hats shaped like corn cobs , cheered when the results were announced .