Bug 514776 removed the check for a null mImageFrame for no good reason. mImageFrame can be null when the sizes of the image are very large, so this change adds the check back. git-svn-id: svn://10.0.0.236/trunk@258839 18797224-902f-48f8-a5cc-f745e15eee43