Anatomy

Which of the three primary germ layers forms the histologically definitive endocardium of the adult hea?