Index: test/unittests/compiler/js-typed-lowering-unittest.cc |
diff --git a/test/unittests/compiler/js-typed-lowering-unittest.cc b/test/unittests/compiler/js-typed-lowering-unittest.cc |
index 9d6cca3dbc0dac92ce539e0287fa7150db14832a..bd027af4fbafe18663bc2b365348ea6dccc0fd0e 100644 |
--- a/test/unittests/compiler/js-typed-lowering-unittest.cc |
+++ b/test/unittests/compiler/js-typed-lowering-unittest.cc |
@@ -88,7 +88,7 @@ class JSTypedLoweringTest : public TypedGraphTest { |
Handle<JSArrayBuffer> NewArrayBuffer(void* bytes, size_t byte_length) { |
Handle<JSArrayBuffer> buffer = factory()->NewJSArrayBuffer(); |
- Runtime::SetupArrayBuffer(isolate(), buffer, true, bytes, byte_length); |
+ JSArrayBuffer::Setup(buffer, isolate(), true, bytes, byte_length); |
return buffer; |
} |