Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(5401)

Unified Diff: chrome/gpu/gpu_thread.cc

Issue 3364019: Allow overriding of X error functions (Closed) Base URL: http://src.chromium.org/git/chromium.git
Patch Set: Created 10 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/gpu/gpu_thread.cc
diff --git a/chrome/gpu/gpu_thread.cc b/chrome/gpu/gpu_thread.cc
index a949e3bb8548af9fe765a3e51778879e3f427d04..f1e5148a48f82b2b91a233c63c17276bf45a0fdf 100644
--- a/chrome/gpu/gpu_thread.cc
+++ b/chrome/gpu/gpu_thread.cc
@@ -26,6 +26,7 @@
#endif
#if defined(OS_LINUX)
+#include "app/x11_util.h"
#include <gtk/gtk.h>
#endif
@@ -57,7 +58,7 @@ GpuThread::GpuThread() {
for (size_t i = 0; i < args.size(); ++i) {
free(argv[i]);
}
- x11_util::SetX11ErrorHandlers();
+ x11_util::SetDefaultX11ErrorHandlers();
}
#endif
}

Powered by Google App Engine
This is Rietveld 408576698