Change the code based on Raf's feedback.
Change the code based on Raf's feedback.

BUG=None
TEST=Unit tests
Review URL: http://codereview.chromium.org/2074022

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

Former-commit-id: ea12d7360fbe8d6637c61f5f5bc6ed1592004b78
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