Update To 11.40.268.0
[platform/framework/web/crosswalk.git] / src / third_party / WebKit / Source / modules / encoding / TextDecoder.h
index acc940f..4933fc5 100644 (file)
 #include "modules/encoding/TextDecodeOptions.h"
 #include "modules/encoding/TextDecoderOptions.h"
 #include "platform/heap/Handle.h"
-#include "wtf/ArrayBufferView.h"
 #include "wtf/text/TextCodec.h"
 #include "wtf/text/TextEncoding.h"
 #include "wtf/text/WTFString.h"
 
 namespace blink {
 
+class DOMArrayBufferView;
 class ExceptionState;
 
-class TextDecoder FINAL : public GarbageCollectedFinalized<TextDecoder>, public ScriptWrappable {
+class TextDecoder final : public GarbageCollectedFinalized<TextDecoder>, public ScriptWrappable {
     DEFINE_WRAPPERTYPEINFO();
 public:
     static TextDecoder* create(const String& label, const TextDecoderOptions&, ExceptionState&);
@@ -54,7 +54,7 @@ public:
     String encoding() const;
     bool fatal() const { return m_fatal; }
     bool ignoreBOM() const { return m_ignoreBOM; }
-    String decode(ArrayBufferView*, const TextDecodeOptions&, ExceptionState&);
+    String decode(DOMArrayBufferView*, const TextDecodeOptions&, ExceptionState&);
     String decode(ExceptionState&);
 
     void trace(Visitor*) { }