| Index: third_party/WebKit/Source/wtf/typed_arrays/ArrayBufferView.h
|
| diff --git a/third_party/WebKit/Source/wtf/typed_arrays/ArrayBufferView.h b/third_party/WebKit/Source/wtf/typed_arrays/ArrayBufferView.h
|
| index 6b22f5f89f17f6d492f0454a910a8155dd33629d..61689039b01ae54b32aa6900c4619631c9047906 100644
|
| --- a/third_party/WebKit/Source/wtf/typed_arrays/ArrayBufferView.h
|
| +++ b/third_party/WebKit/Source/wtf/typed_arrays/ArrayBufferView.h
|
| @@ -54,7 +54,10 @@ class WTF_EXPORT ArrayBufferView : public RefCounted<ArrayBufferView> {
|
|
|
| ArrayBuffer* buffer() const { return m_buffer.get(); }
|
|
|
| - void* baseAddress() const { return m_baseAddress; }
|
| + void* baseAddress() const {
|
| + DCHECK(!isShared());
|
| + return m_baseAddress;
|
| + }
|
|
|
| unsigned byteOffset() const { return m_byteOffset; }
|
|
|
|
|