Index: mojo/public/cpp/bindings/tests/buffer_unittest.cc |
diff --git a/mojo/public/cpp/bindings/tests/buffer_unittest.cc b/mojo/public/cpp/bindings/tests/buffer_unittest.cc |
index 61424c056233bc7ae8c4ff88197e51a5abddc8a2..1d7e6777283a014bf9fc24142c482fac4c470a0e 100644 |
--- a/mojo/public/cpp/bindings/tests/buffer_unittest.cc |
+++ b/mojo/public/cpp/bindings/tests/buffer_unittest.cc |
@@ -66,7 +66,7 @@ TEST(FixedBufferTest, Leak) { |
free(buf_ptr); |
} |
-#ifdef NDEBUG |
+#if defined(NDEBUG) && !defined(DCHECK_ALWAYS_ON) |
TEST(FixedBufferTest, TooBig) { |
internal::FixedBuffer buf(24); |