Index: cc/quads/render_pass_id.h |
diff --git a/cc/quads/render_pass_id.h b/cc/quads/render_pass_id.h |
index 5dff1e1f521ec51b9831cb70b14f09530aeacc2c..581268794f21d037411b2b25fc573ae738e43df2 100644 |
--- a/cc/quads/render_pass_id.h |
+++ b/cc/quads/render_pass_id.h |
@@ -6,6 +6,7 @@ |
#define CC_QUADS_RENDER_PASS_ID_H_ |
#include <stddef.h> |
+#include <stdint.h> |
#include <tuple> |
@@ -16,10 +17,11 @@ namespace cc { |
class CC_EXPORT RenderPassId { |
public: |
int layer_id; |
- size_t index; |
+ uint32_t index; |
RenderPassId() : layer_id(-1), index(0) {} |
- RenderPassId(int layer_id, size_t index) : layer_id(layer_id), index(index) {} |
+ RenderPassId(int layer_id, uint32_t index) |
+ : layer_id(layer_id), index(index) {} |
void* AsTracingId() const; |
bool IsValid() const { return layer_id >= 0; } |