The toxic component of chocolate is theobromine.
Humans easily metabolize theobromine, but dogs process it much more slowly, allowing it to build up to toxic levels in their system.
A small amount of chocolate will probably only give your dog an upset stomach with vomiting or diarrhea.