| 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..a0d48ea82d39288cc0586b6d472c0e4074d9d190 100644
|
| --- a/cc/quads/render_pass_id.h
|
| +++ b/cc/quads/render_pass_id.h
|
| @@ -9,6 +9,7 @@
|
|
|
| #include <tuple>
|
|
|
| +#include "base/hash.h"
|
| #include "cc/base/cc_export.h"
|
|
|
| namespace cc {
|
| @@ -33,6 +34,12 @@ class CC_EXPORT RenderPassId {
|
| }
|
| };
|
|
|
| +struct RenderPassIdHash {
|
| + size_t operator()(RenderPassId key) const {
|
| + return base::HashInts(key.layer_id, static_cast<int>(key.index));
|
| + }
|
| +};
|
| +
|
| } // namespace cc
|
|
|
| #endif // CC_QUADS_RENDER_PASS_ID_H_
|
|
|