Bug 514280 Only use nsCOMPtr for interfaces r=bsmedberg