I'd say there is a gray area where both overlap, an example of which would be DSP programing for power converter control. Other than that, well, you could be an electrical engineer and never have to see a line of code, and that's less likely to happen as a computer engineer.
Computer engineering is more oriented towards integrated circuits and/or programing.
I'd say electrical engineering can deal with everything electrical other than pure programing.
Just a guess.