summaryrefslogtreecommitdiffstats
path: root/cc/quads/render_pass.h
diff options
context:
space:
mode:
Diffstat (limited to 'cc/quads/render_pass.h')
-rw-r--r--cc/quads/render_pass.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/cc/quads/render_pass.h b/cc/quads/render_pass.h
index 9ba727e..552643d 100644
--- a/cc/quads/render_pass.h
+++ b/cc/quads/render_pass.h
@@ -12,6 +12,7 @@
#include "base/callback.h"
#include "base/containers/hash_tables.h"
+#include "base/hash.h"
#include "base/macros.h"
#include "cc/base/cc_export.h"
#include "cc/base/list_container.h"
@@ -139,7 +140,7 @@ namespace BASE_HASH_NAMESPACE {
template <>
struct hash<cc::RenderPassId> {
size_t operator()(cc::RenderPassId key) const {
- return base::HashPair(key.layer_id, static_cast<int>(key.index));
+ return base::HashInts(key.layer_id, static_cast<int>(key.index));
}
};
} // namespace BASE_HASH_NAMESPACE