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 523b9f6ef5cde2031bb622495393e8dbd1f13559..9fa8d4f1f6afde0c941f2811e264200bfb2d2f2e 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& exceptionState) { |
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, exceptionState); |
} |
ASSERT(input.isArrayBuffer()); |