| Index: Source/modules/encoding/TextEncoder.h
|
| diff --git a/Source/modules/encoding/TextEncoder.h b/Source/modules/encoding/TextEncoder.h
|
| index de007b29d14cf726e06c3ac88aecb8c383b14cf9..752198d6ef8aa3455dcf9a7a10e077e6736b59df 100644
|
| --- a/Source/modules/encoding/TextEncoder.h
|
| +++ b/Source/modules/encoding/TextEncoder.h
|
| @@ -31,7 +31,6 @@
|
| #ifndef TextEncoder_h
|
| #define TextEncoder_h
|
|
|
| -#include "heap/Handle.h"
|
| #include "wtf/ArrayBufferView.h"
|
| #include "wtf/RefCounted.h"
|
| #include "wtf/Uint8Array.h"
|
| @@ -44,17 +43,17 @@
|
| class Dictionary;
|
| class ExceptionState;
|
|
|
| -class TextEncoder FINAL : public RefCountedWillBeGarbageCollectedFinalized<TextEncoder> {
|
| - DECLARE_GC_INFO;
|
| +class TextEncoder FINAL : public RefCounted<TextEncoder> {
|
| public:
|
| - static PassRefPtrWillBeRawPtr<TextEncoder> create(const String& utfLabel, ExceptionState&);
|
| + static PassRefPtr<TextEncoder> create(const String& utfLabel, ExceptionState&);
|
| ~TextEncoder();
|
|
|
| // Implement the IDL
|
| String encoding() const;
|
| PassRefPtr<Uint8Array> encode(const String&, const Dictionary&);
|
|
|
| - void trace(Visitor*) { }
|
| + using RefCounted<TextEncoder>::ref;
|
| + using RefCounted<TextEncoder>::deref;
|
|
|
| private:
|
| TextEncoder(const String& encoding);
|
|
|