Unreviewed, build fix after r245064
https://bugs.webkit.org/show_bug.cgi?id=197110
* runtime/GenericTypedArrayView.h:
git-svn-id: http://svn.webkit.org/repository/webkit/trunk@245093 268f45cc-cd09-0410-ab3c-d52691b4dbfc
diff --git a/Source/JavaScriptCore/ChangeLog b/Source/JavaScriptCore/ChangeLog
index 166bdc7b..d28ce69 100644
--- a/Source/JavaScriptCore/ChangeLog
+++ b/Source/JavaScriptCore/ChangeLog
@@ -1,3 +1,10 @@
+2019-05-08 Yusuke Suzuki <ysuzuki@apple.com>
+
+ Unreviewed, build fix after r245064
+ https://bugs.webkit.org/show_bug.cgi?id=197110
+
+ * runtime/GenericTypedArrayView.h:
+
2019-05-08 Saam barati <sbarati@apple.com>
AccessGenerationState::emitExplicitExceptionHandler can clobber an in use register
diff --git a/Source/JavaScriptCore/runtime/GenericTypedArrayView.h b/Source/JavaScriptCore/runtime/GenericTypedArrayView.h
index be2d420..82fdfa1 100644
--- a/Source/JavaScriptCore/runtime/GenericTypedArrayView.h
+++ b/Source/JavaScriptCore/runtime/GenericTypedArrayView.h
@@ -98,8 +98,7 @@
return getRangeImpl(
reinterpret_cast<char*>(data),
count * sizeof(typename Adaptor::Type),
- offset * sizeof(typename Adaptor::Type),
- byteLength());
+ offset * sizeof(typename Adaptor::Type));
}
bool checkInboundData(unsigned offset, size_t count) const