| Index: Source/modules/encoding/TextDecoder.h
|
| diff --git a/Source/modules/encoding/TextDecoder.h b/Source/modules/encoding/TextDecoder.h
|
| index 2d64f2acab93cdc6b33b339271c5d7e2a3f5a854..58eddcfeec554e8708b531db73f5f6f03b65495c 100644
|
| --- a/Source/modules/encoding/TextDecoder.h
|
| +++ b/Source/modules/encoding/TextDecoder.h
|
| @@ -32,7 +32,6 @@
|
| #define TextDecoder_h
|
|
|
| #include "bindings/v8/Dictionary.h"
|
| -#include "heap/Handle.h"
|
| #include "wtf/ArrayBufferView.h"
|
| #include "wtf/RefCounted.h"
|
| #include "wtf/text/TextCodec.h"
|
| @@ -43,10 +42,9 @@
|
|
|
| class ExceptionState;
|
|
|
| -class TextDecoder FINAL : public RefCountedWillBeGarbageCollectedFinalized<TextDecoder> {
|
| - DECLARE_GC_INFO;
|
| +class TextDecoder FINAL : public RefCounted<TextDecoder> {
|
| public:
|
| - static PassRefPtrWillBeRawPtr<TextDecoder> create(const String& label, const Dictionary&, ExceptionState&);
|
| + static PassRefPtr<TextDecoder> create(const String& label, const Dictionary&, ExceptionState&);
|
| ~TextDecoder();
|
|
|
| // Implement the IDL
|
| @@ -54,7 +52,8 @@
|
| String decode(ArrayBufferView*, const Dictionary&, ExceptionState&);
|
| String decode(ExceptionState& exceptionState) { return decode(0, Dictionary(), exceptionState); }
|
|
|
| - void trace(Visitor*) { }
|
| + using RefCounted<TextDecoder>::ref;
|
| + using RefCounted<TextDecoder>::deref;
|
|
|
| private:
|
| TextDecoder(const String& encoding, bool fatal);
|
|
|