Index: content/browser/speech/chunked_byte_buffer.cc |
diff --git a/content/browser/speech/chunked_byte_buffer.cc b/content/browser/speech/chunked_byte_buffer.cc |
index ae8a6ce82457f0abc3ff847e77c91f1c2ebaf538..5fcf5d18fe624437ead9bfc223b354be64df4bb9 100644 |
--- a/content/browser/speech/chunked_byte_buffer.cc |
+++ b/content/browser/speech/chunked_byte_buffer.cc |
@@ -14,8 +14,8 @@ namespace { |
static const size_t kHeaderLength = sizeof(uint32); |
-COMPILE_ASSERT(sizeof(size_t) >= kHeaderLength, |
- ChunkedByteBufferNotSupportedOnThisArchitecture); |
+static_assert(sizeof(size_t) >= kHeaderLength, |
+ "chunked byte buffer not supported on this architecture"); |
uint32 ReadBigEndian32(const uint8* buffer) { |
return (static_cast<uint32>(buffer[3])) | |