summaryrefslogtreecommitdiff
path: root/src/util-inl.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/util-inl.h')
-rw-r--r--src/util-inl.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/util-inl.h b/src/util-inl.h
index c06a0ae84c..d44ee09fef 100644
--- a/src/util-inl.h
+++ b/src/util-inl.h
@@ -514,7 +514,7 @@ void ArrayBufferViewContents<T, S>::Read(v8::Local<v8::ArrayBufferView> abv) {
static_assert(sizeof(T) == 1, "Only supports one-byte data at the moment");
length_ = abv->ByteLength();
if (length_ > sizeof(stack_storage_) || abv->HasBuffer()) {
- data_ = static_cast<T*>(abv->Buffer()->GetContents().Data()) +
+ data_ = static_cast<T*>(abv->Buffer()->GetBackingStore()->Data()) +
abv->ByteOffset();
} else {
abv->CopyContents(stack_storage_, sizeof(stack_storage_));