aboutsummaryrefslogtreecommitdiff
path: root/src/env.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/env.cc')
-rw-r--r--src/env.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/env.cc b/src/env.cc
index ab5de3e2ee..2fa4432c54 100644
--- a/src/env.cc
+++ b/src/env.cc
@@ -80,7 +80,7 @@ IsolateData::~IsolateData() {
v8::CpuProfiler* IsolateData::GetCpuProfiler() {
if (cpu_profiler_ != nullptr) return cpu_profiler_;
cpu_profiler_ = v8::CpuProfiler::New(isolate());
- CHECK_NE(cpu_profiler_, nullptr);
+ CHECK_NOT_NULL(cpu_profiler_);
return cpu_profiler_;
}