Fix crash when user presses send report before onload handler was called
Fix crash when user presses send report before onload handler was called

Crash dump from the bug shows that crash happened during call "bug_report_->UpdateData(...)" that was inlined into HandleSendReport. It looks like bug_report_ is NULL. bug_report_ is initialized with new object in HandleGetDialogDefaults that is called from JavaScript in window onload handler. So it looks like user clicked on send report button before the page is loaded and onload handler was called.

BUG=chromium-os:10240
TEST=none

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

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

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