summaryrefslogtreecommitdiff
path: root/deps/v8/src/objects/script-inl.h
diff options
context:
space:
mode:
Diffstat (limited to 'deps/v8/src/objects/script-inl.h')
-rw-r--r--deps/v8/src/objects/script-inl.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/deps/v8/src/objects/script-inl.h b/deps/v8/src/objects/script-inl.h
index 6ea98f409e..2544b4e20e 100644
--- a/deps/v8/src/objects/script-inl.h
+++ b/deps/v8/src/objects/script-inl.h
@@ -71,9 +71,9 @@ bool Script::HasValidSource() {
String* src_str = String::cast(src);
if (!StringShape(src_str).IsExternal()) return true;
if (src_str->IsOneByteRepresentation()) {
- return ExternalOneByteString::cast(src)->resource() != NULL;
+ return ExternalOneByteString::cast(src)->resource() != nullptr;
} else if (src_str->IsTwoByteRepresentation()) {
- return ExternalTwoByteString::cast(src)->resource() != NULL;
+ return ExternalTwoByteString::cast(src)->resource() != nullptr;
}
return true;
}