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.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/cc/quads/render_pass.h b/cc/quads/render_pass.h
index 8c31d82..0f57fae 100644
--- a/cc/quads/render_pass.h
+++ b/cc/quads/render_pass.h
@@ -136,7 +136,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::HashPair(key.layer_id, key.index);
}
};
} // namespace BASE_HASH_NAMESPACE