candidate: On the weekend lasting from September 3–5 , 2010 , it surpassed " Shrek Forever After " to become the second highest - grossing animated film of 2010 in the United States and Canada , behind " Toy Story 3 " .