Call SetBrowserX11ErrorHandlers before calling profile_manager()->GetDefaultProfile() on ChromeOS since GetDefaultProfile() calls an Xlib function (see Issue 7875).
Call SetBrowserX11ErrorHandlers before calling profile_manager()->GetDefaultProfile() on ChromeOS since GetDefaultProfile() calls an Xlib function (see Issue 7875).

Please note that the change does not change the behavior of Chrome for Windows/Mac/Linux.

BUG=chromium-os:7875
TEST=manually checked that Chrome for ChromeOS could start normally with the change.

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

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

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