| Index: third_party/WebKit/Source/modules/encoding/TextDecoder.cpp
|
| diff --git a/third_party/WebKit/Source/modules/encoding/TextDecoder.cpp b/third_party/WebKit/Source/modules/encoding/TextDecoder.cpp
|
| index 07e86a1072737341ed067fd59d33057f9a5581ca..b8f14ac888821a0a3f52711de52badc9294b2dbb 100644
|
| --- a/third_party/WebKit/Source/modules/encoding/TextDecoder.cpp
|
| +++ b/third_party/WebKit/Source/modules/encoding/TextDecoder.cpp
|
| @@ -81,9 +81,9 @@ String TextDecoder::decode(const BufferSource& input,
|
| ExceptionState& exception_state) {
|
| ASSERT(!input.isNull());
|
| if (input.isArrayBufferView()) {
|
| - const char* start =
|
| - static_cast<const char*>(input.getAsArrayBufferView()->BaseAddress());
|
| - size_t length = input.getAsArrayBufferView()->byteLength();
|
| + const char* start = static_cast<const char*>(
|
| + input.getAsArrayBufferView().View()->BaseAddress());
|
| + size_t length = input.getAsArrayBufferView().View()->byteLength();
|
| return decode(start, length, options, exception_state);
|
| }
|
| ASSERT(input.isArrayBuffer());
|
|
|