Index: third_party/WebKit/Source/core/dom/DOMTypedArray.h |
diff --git a/third_party/WebKit/Source/core/dom/DOMTypedArray.h b/third_party/WebKit/Source/core/dom/DOMTypedArray.h |
index f4b6893b79d5d27013bfb7c67c2a7a3d30fe174a..292003a003c25f578ed6a19bcde7f3b76f33230c 100644 |
--- a/third_party/WebKit/Source/core/dom/DOMTypedArray.h |
+++ b/third_party/WebKit/Source/core/dom/DOMTypedArray.h |
@@ -54,8 +54,7 @@ |
} |
static ThisType* createOrNull(unsigned length) { |
- RefPtr<WTF::ArrayBuffer> buffer = |
- WTF::ArrayBuffer::createOrNull(length, sizeof(ThisType)); |
+ RefPtr<WTF::ArrayBuffer> buffer = WTF::ArrayBuffer::createOrNull(length, 1); |
return buffer ? create(buffer.release(), 0, length) : nullptr; |
} |