Fixed regression due to refactoring change from http://codereview.chromium.org/560030/show
Fixed regression due to refactoring change from http://codereview.chromium.org/560030/show

BUG=33698
TEST=see the bug for repro steps

Review URL: http://codereview.chromium.org/621005

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

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