| Index: Source/modules/encoding/TextDecoder.cpp
|
| diff --git a/Source/modules/encoding/TextDecoder.cpp b/Source/modules/encoding/TextDecoder.cpp
|
| index 6dd5c2b5bd45caf847ff93a1128de0d24c953f5c..a28474ec080d6ffb0773027bc551c6fabca05578 100644
|
| --- a/Source/modules/encoding/TextDecoder.cpp
|
| +++ b/Source/modules/encoding/TextDecoder.cpp
|
| @@ -29,10 +29,10 @@
|
| */
|
|
|
| #include "config.h"
|
| -
|
| #include "modules/encoding/TextDecoder.h"
|
|
|
| #include "bindings/core/v8/ExceptionState.h"
|
| +#include "core/dom/DOMArrayBufferView.h"
|
| #include "core/dom/ExceptionCode.h"
|
| #include "wtf/StringExtras.h"
|
| #include "wtf/text/TextEncodingRegistry.h"
|
| @@ -76,7 +76,7 @@ String TextDecoder::encoding() const
|
| return name;
|
| }
|
|
|
| -String TextDecoder::decode(ArrayBufferView* input, const TextDecodeOptions& options, ExceptionState& exceptionState)
|
| +String TextDecoder::decode(DOMArrayBufferView* input, const TextDecodeOptions& options, ExceptionState& exceptionState)
|
| {
|
| const char* start = input ? static_cast<const char*>(input->baseAddress()) : 0;
|
| size_t length = input ? input->byteLength() : 0;
|
|
|