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

Unified Diff: chrome/browser/chromeos/input_method/xkeyboard.cc

Issue 8477004: Have content/ create and destroy its own threads. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: More IWYU, missing link-time dependency for Chrome Frame. Created 9 years, 1 month 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/browser/chromeos/input_method/xkeyboard.cc
diff --git a/chrome/browser/chromeos/input_method/xkeyboard.cc b/chrome/browser/chromeos/input_method/xkeyboard.cc
index aaf89d9ee022329b70a84a32c2a521f5c0ff1216..1d37c4e5681796b6260bcfb992a113cee137a304 100644
--- a/chrome/browser/chromeos/input_method/xkeyboard.cc
+++ b/chrome/browser/chromeos/input_method/xkeyboard.cc
@@ -9,9 +9,6 @@
#include <string>
#include <utility>
-#include <X11/XKBlib.h>
-#include <X11/Xlib.h>
-#include <glib.h>
#include <stdlib.h>
#include <string.h>
@@ -25,6 +22,11 @@
#include "content/public/browser/browser_thread.h"
#include "ui/base/x/x11_util.h"
+// These includes conflict with base/tracked_objects.h so must come last.
+#include <X11/XKBlib.h>
+#include <X11/Xlib.h>
+#include <glib.h>
+
using content::BrowserThread;
namespace chromeos {

Powered by Google App Engine
This is Rietveld 408576698