Index: minidump/minidump_string_writer_test.cc |
diff --git a/minidump/minidump_string_writer_test.cc b/minidump/minidump_string_writer_test.cc |
index 9e684cef85f0dcc9b0ed2d692292480ac14d5914..c4eccd2d7a1a81e2573e2d8c3920b6c9082a1f6a 100644 |
--- a/minidump/minidump_string_writer_test.cc |
+++ b/minidump/minidump_string_writer_test.cc |
@@ -133,7 +133,7 @@ TEST(MinidumpStringWriter, ConvertInvalidUTF8ToUTF16) { |
size_t out_units = |
minidump_string->Length / sizeof(minidump_string->Buffer[0]); |
EXPECT_EQ(0, minidump_string->Buffer[out_units]); |
- EXPECT_NE(reinterpret_cast<char16*>(NULL), |
+ EXPECT_NE(nullptr, |
base::c16memchr(minidump_string->Buffer, 0xfffd, out_units)); |
} |
} |