| Index: cc/quads/render_pass_id.h
|
| diff --git a/cc/quads/render_pass_id.h b/cc/quads/render_pass_id.h
|
| index a0d48ea82d39288cc0586b6d472c0e4074d9d190..68a2051df21c39e9904a984068f7604f6378c489 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>
|
|
|
| @@ -17,10 +18,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; }
|
|
|