Chromium Code Reviews| Index: cc/surfaces/local_frame_id.h |
| diff --git a/cc/surfaces/local_frame_id.h b/cc/surfaces/local_frame_id.h |
| index 7773b9646cbcf85c6cef9d6eaec0b7cf8ef628d1..49d1a4b9eb2c862a7dbf0081ccdc6efe65b07786 100644 |
| --- a/cc/surfaces/local_frame_id.h |
| +++ b/cc/surfaces/local_frame_id.h |
| @@ -50,6 +50,7 @@ class LocalFrameId { |
| } |
| size_t hash() const { |
| + DCHECK(is_valid()) << ToString(); |
| return base::HashInts( |
| local_id_, static_cast<uint64_t>(base::UnguessableTokenHash()(nonce_))); |
| } |