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 f881784ab77c168960e799e79bcecfed2009a3b6..61424c056233bc7ae8c4ff88197e51a5abddc8a2 100644 |
--- a/mojo/public/cpp/bindings/tests/buffer_unittest.cc |
+++ b/mojo/public/cpp/bindings/tests/buffer_unittest.cc |
@@ -41,8 +41,8 @@ TEST(FixedBufferTest, Alignment) { |
// Tests that FixedBuffer::Leak passes ownership to the caller. |
TEST(FixedBufferTest, Leak) { |
- void* ptr = NULL; |
- void* buf_ptr = NULL; |
+ void* ptr = nullptr; |
+ void* buf_ptr = nullptr; |
{ |
internal::FixedBuffer buf(8); |
ASSERT_EQ(8u, buf.size()); |