summaryrefslogtreecommitdiffstats
path: root/chrome/gpu/gpu_thread.cc
diff options
context:
space:
mode:
authorthestig@chromium.org <thestig@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-06-11 01:56:27 +0000
committerthestig@chromium.org <thestig@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-06-11 01:56:27 +0000
commitf658af8bb836debbac7ca687634792d9dc6b9f87 (patch)
treef69027acb8331a93c3db63ee5017509f6b3aacd2 /chrome/gpu/gpu_thread.cc
parenta551ebd84a64c2723cae1b1c48eef602f9c3b44b (diff)
downloadchromium_src-f658af8bb836debbac7ca687634792d9dc6b9f87.zip
chromium_src-f658af8bb836debbac7ca687634792d9dc6b9f87.tar.gz
chromium_src-f658af8bb836debbac7ca687634792d9dc6b9f87.tar.bz2
Linux: Catch X errors and force a crash.
BUG=45020 TEST=See http://crosbug.com/3487 Review URL: http://codereview.chromium.org/2716007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@49488 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/gpu/gpu_thread.cc')
-rw-r--r--chrome/gpu/gpu_thread.cc5
1 files changed, 3 insertions, 2 deletions
diff --git a/chrome/gpu/gpu_thread.cc b/chrome/gpu/gpu_thread.cc
index dcb16e9..d73fc92 100644
--- a/chrome/gpu/gpu_thread.cc
+++ b/chrome/gpu/gpu_thread.cc
@@ -4,12 +4,12 @@
#include "chrome/gpu/gpu_thread.h"
-#include "build/build_config.h"
+#include <string>
+#include <vector>
#include "base/command_line.h"
#include "chrome/common/child_process.h"
#include "chrome/common/gpu_messages.h"
-#include "chrome/gpu/gpu_config.h"
#if defined(OS_WIN)
#include "chrome/gpu/gpu_view_win.h"
@@ -52,6 +52,7 @@ GpuThread::GpuThread() {
for (size_t i = 0; i < args.size(); ++i) {
free(argv[i]);
}
+ x11_util::SetX11ErrorHandlers();
}
#endif
}