diff options
Diffstat (limited to 'src/string_bytes.cc')
-rw-r--r-- | src/string_bytes.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/string_bytes.cc b/src/string_bytes.cc index c106571a46..b7f009fe1f 100644 --- a/src/string_bytes.cc +++ b/src/string_bytes.cc @@ -465,7 +465,7 @@ size_t StringBytes::Size(Isolate* isolate, case BUFFER: case UTF8: - return str->Utf8Length(); + return str->Utf8Length(isolate); case UCS2: return str->Length() * sizeof(uint16_t); |