Revert "Clean up title code."

This reverts commit d99843b55a3c98acf781dea31edf64884d0b058d.

TBR=abarth
BUG=

Review URL: https://codereview.chromium.org/22978002

git-svn-id: svn://svn.chromium.org/blink/trunk@155965 bbb929c8-8fbe-4397-9dbb-9b2b20218538