In fact, an AED does not restart the heart. It's used in the case of cardiac arrhythmia. CPR is the proper protocol for a flat-lined patient.
http://en.wikipedia.org/wiki/Automated_external_defibrillato...
http://en.wikipedia.org/wiki/Automated_external_defibrillato...
CPR alone never restarts a heart (ok... not 'never', but it's uncommon enough (in adults) that it's not worth fighting over).