Fix a potential crasher in SpellChecker Add to dictionary feature.
Fix a potential crasher in SpellChecker Add to dictionary feature.

Issue=3039
Review URL: http://codereview.chromium.org/7484

git-svn-id: http://src.chromium.org/svn/trunk/src@3546 4ff67af0-8c30-449e-8e8b-ad334ec8d88c

Former-commit-id: a7d2dc270cb5df8d8763918ffadec2c9ee85c775
meego-tablet-ux/meego-app-browser,meego-tablet-ux/meego-app-browser,meego-tablet-ux/meego-app-browser,meego-tablet-ux/meego-app-browser,meego-tablet-ux/meego-app-browser,meego-tablet-ux/meego-app-browser,meego-tablet-ux/meego-app-browser,meego-tablet-ux/meego-app-browser,meego-tablet-ux/meego-app-browser,meego-tablet-ux/meego-app-browser