Chromium Code Reviews| 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 |