Index: content/browser/speech/audio_encoder.cc |
diff --git a/content/browser/speech/audio_encoder.cc b/content/browser/speech/audio_encoder.cc |
index 09b5dca287df9c2343ad0b00f0a49cfdf77a2d5f..e145ddaba4083818fcc2593b2816e1ecd2d4c4d2 100644 |
--- a/content/browser/speech/audio_encoder.cc |
+++ b/content/browser/speech/audio_encoder.cc |
@@ -108,7 +108,7 @@ const int kMaxSpeexFrameLength = 110; // (44kbps rate sampled at 32kHz). |
// Since the frame length gets written out as a byte in the encoded packet, |
// make sure it is within the byte range. |
-COMPILE_ASSERT(kMaxSpeexFrameLength <= 0xFF, invalidLength); |
+static_assert(kMaxSpeexFrameLength <= 0xFF, "invalid length"); |
class SpeexEncoder : public AudioEncoder { |
public: |