Index: src/perf-jit.cc |
diff --git a/src/perf-jit.cc b/src/perf-jit.cc |
index 3f30e384674fb5d7ee05b5621824290244d62ef3..819fe4eef42e04b56b9384759d35e7d700b856a0 100644 |
--- a/src/perf-jit.cc |
+++ b/src/perf-jit.cc |
@@ -57,7 +57,7 @@ PerfJitLogger::PerfJitLogger() : perf_output_handle_(NULL), code_index_(0) { |
CHECK_NE(size, -1); |
perf_output_handle_ = |
base::OS::FOpen(perf_dump_name.start(), base::OS::LogFileOpenMode); |
- CHECK_NE(perf_output_handle_, NULL); |
+ CHECK_NOT_NULL(perf_output_handle_); |
setvbuf(perf_output_handle_, NULL, _IOFBF, kLogBufferSize); |
LogWriteHeader(); |