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

Unified Diff: base/tracked_objects.h

Issue 1936093003: Fix gpu_video_decode_accelerator include order by renaming enum with X11 name collision (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix include order that used to depend on X11 include ordering Created 4 years, 8 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
« no previous file with comments | « no previous file | media/gpu/ipc/service/gpu_video_decode_accelerator.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/tracked_objects.h
diff --git a/base/tracked_objects.h b/base/tracked_objects.h
index 168b17db045a429234c3ae403622a9217adf3ad8..7bccd37c2fa4be1485db477fedb2a0738ca08585 100644
--- a/base/tracked_objects.h
+++ b/base/tracked_objects.h
@@ -433,6 +433,10 @@ class BASE_EXPORT TaskStopwatch;
// phase.
typedef std::map<int, ProcessDataPhaseSnapshot> PhasedProcessDataSnapshotMap;
+#ifdef Status
+#undef Status // Xlib.h #defines this, which conflicts with enum Status below.
danakj 2016/05/02 20:12:54 Do this at the places that include Xlib.h
Mark Dittmer 2016/05/04 14:00:07 This seems less useful to me. Here, we are in the
danakj 2016/05/04 20:17:57 Conversely this code has no idea about Xlib.h so p
+#endif
+
class BASE_EXPORT ThreadData {
public:
// Current allowable states of the tracking system. The states can vary
« no previous file with comments | « no previous file | media/gpu/ipc/service/gpu_video_decode_accelerator.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698