Index: components/variations/entropy_provider.cc |
diff --git a/components/variations/entropy_provider.cc b/components/variations/entropy_provider.cc |
index 6e2501f98259a2c035d578d3d3657d2ad2ee58b9..73583409ee138ba6d3c2426eb1629f48496244b1 100644 |
--- a/components/variations/entropy_provider.cc |
+++ b/components/variations/entropy_provider.cc |
@@ -94,7 +94,7 @@ double SHA1EntropyProvider::GetEntropyForTrial( |
sha1_hash); |
uint64 bits; |
- COMPILE_ASSERT(sizeof(bits) < sizeof(sha1_hash), need_more_data); |
+ static_assert(sizeof(bits) < sizeof(sha1_hash), "more data required"); |
memcpy(&bits, sha1_hash, sizeof(bits)); |
bits = base::ByteSwapToLE64(bits); |