In a food processor, puree the avocado until completely smooth. Add the white and brown sugars and process, then add the eggs, oil or butter and vanilla and process until smooth. Scrape the avocado mixture into the flour mixture and stir to combine. Spread the batter in the prepared pan.