Fixes crasher in FrameContentAsPlainText. TextIterator iterates over the visual representation. As such, we need to make sure the frame is layed out, otherwise things are in a weird state and we get a crasher.
Fixes crasher in FrameContentAsPlainText. TextIterator iterates over
the visual representation. As such, we need to make sure the frame is
layed out, otherwise things are in a weird state and we get a crasher.

BUG=4123
TEST=Go to http://www.orkutplus.net/category/orkut-themes and make
  sure we don't crash

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

git-svn-id: dd90618784b6a4b323ea0c23a071cb1c9e6f2ac7@9886 4ff67af0-8c30-449e-8e8b-ad334ec8d88c

wistoch/meego-app-browser,wistoch/meego-app-browser,wistoch/meego-app-browser,wistoch/meego-app-browser,wistoch/meego-app-browser,wistoch/meego-app-browser,wistoch/meego-app-browser,wistoch/meego-app-browser,wistoch/meego-app-browser,wistoch/meego-app-browser