The actor recorded his lines before her passed

Read more here