Index: src/runtime/runtime-typedarray.cc |
diff --git a/src/runtime/runtime-typedarray.cc b/src/runtime/runtime-typedarray.cc |
index f8dcb07f01ad8acc7e0b8358d317689e4c58c39d..37b612d4cb5dd8f9664fb5edd04a7c24ad663f84 100644 |
--- a/src/runtime/runtime-typedarray.cc |
+++ b/src/runtime/runtime-typedarray.cc |
@@ -127,7 +127,7 @@ |
CHECK(byte_offset <= array_buffer_byte_length); |
CHECK(array_buffer_byte_length - byte_offset >= byte_length); |
} else { |
- CHECK(maybe_buffer->IsNull()); |
+ CHECK(maybe_buffer->IsNull(isolate)); |
} |
CHECK(byte_length % element_size == 0); |
@@ -150,7 +150,7 @@ |
holder->set_byte_offset(*byte_offset_object); |
holder->set_byte_length(*byte_length_object); |
- if (!maybe_buffer->IsNull()) { |
+ if (!maybe_buffer->IsNull(isolate)) { |
Handle<JSArrayBuffer> buffer = Handle<JSArrayBuffer>::cast(maybe_buffer); |
holder->set_buffer(*buffer); |