Index: base/trace_event/trace_event_impl.h |
diff --git a/base/trace_event/trace_event_impl.h b/base/trace_event/trace_event_impl.h |
index 8e9b3b0a96e51a1dc85a11394f1455b64dda3462..0d66bb2f9eaa4b1aeac8be24f394fc6db04f5933 100644 |
--- a/base/trace_event/trace_event_impl.h |
+++ b/base/trace_event/trace_event_impl.h |
@@ -66,8 +66,11 @@ const int kTraceMaxNumArgs = 2; |
struct TraceEventHandle { |
uint32 chunk_seq; |
- uint16 chunk_index; |
- uint16 event_index; |
+ // These numbers of bits must be kept consistent with |
+ // TraceBufferChunk::kMaxTrunkIndex and |
+ // TraceBufferChunk::kTraceBufferChunkSize (in trace_buffer.h). |
+ unsigned chunk_index : 26; |
+ unsigned event_index : 6; |
}; |
class BASE_EXPORT TraceEvent { |