Answer: B
Resonance contributors differ only in the positions of electrons. Shifting the pi electrons of the C=C to form C=C-C and the C=O pi pair onto oxygen gives CHX2X+−CH=CH−OX−, in which the negative charge is on the more electronegative oxygen. CHX3−CH=C=O requires a hydrogen shift and is an isomer, and the other two have the wrong charge polarity or wrong atoms.