Hopefully fix flaky RenderViewTest
Hopefully fix flaky RenderViewTest

This is speculative because the flaky crash does not
reproduce locally.

It seems that some pending tasks were being added to
the message loop. If we were unlucky, they were being
executed after WebKit shutdown, which was leading
to a crash. This patch executes pending tasks before
shutting down WebKit.

TEST=Covered by unit_tests.
BUG=21508

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

git-svn-id: dd90618784b6a4b323ea0c23a071cb1c9e6f2ac7@25915 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