Chromium Code Reviews| Index: cc/surfaces/local_surface_id.h |
| diff --git a/cc/surfaces/local_surface_id.h b/cc/surfaces/local_surface_id.h |
| index ef8be591a97822e7885290ebbe2e095fa2e7855e..138bfa644d59ecbcd64306b3d1b44010dffca0e6 100644 |
| --- a/cc/surfaces/local_surface_id.h |
| +++ b/cc/surfaces/local_surface_id.h |
| @@ -53,6 +53,7 @@ class LocalSurfaceId { |
| } |
| size_t hash() const { |
| + DCHECK(is_valid()) << ToString(); |
| return base::HashInts( |
| local_id_, static_cast<uint64_t>(base::UnguessableTokenHash()(nonce_))); |
| } |