| Index: cc/quads/render_pass_id.h
|
| diff --git a/cc/quads/render_pass_id.h b/cc/quads/render_pass_id.h
|
| index 11cb777204eaaed4709f9c2fa9dae0ca55e017ed..df2616e02576f5b6fdf253b8dcab02a646f0c2f1 100644
|
| --- a/cc/quads/render_pass_id.h
|
| +++ b/cc/quads/render_pass_id.h
|
| @@ -9,7 +9,7 @@
|
|
|
| #include <tuple>
|
|
|
| -#include "base/containers/hash_tables.h"
|
| +#include "base/containers/pair_hash.h"
|
| #include "cc/base/cc_export.h"
|
|
|
| namespace cc {
|
| @@ -34,6 +34,12 @@ class CC_EXPORT RenderPassId {
|
| }
|
| };
|
|
|
| +struct RenderPassIdHash {
|
| + size_t operator()(RenderPassId key) const {
|
| + return base::HashPair(key.layer_id, static_cast<int>(key.index));
|
| + }
|
| +};
|
| +
|
| } // namespace cc
|
|
|
| #endif // CC_QUADS_RENDER_PASS_ID_H_
|
|
|