| Index: Source/modules/encoding/TextDecoder.cpp
|
| diff --git a/Source/modules/encoding/TextDecoder.cpp b/Source/modules/encoding/TextDecoder.cpp
|
| index 3e587473b1984dcf8f263eb9e8e2411462c02a60..06bf788e0f7aacde318748d8c796432d20bd9c67 100644
|
| --- a/Source/modules/encoding/TextDecoder.cpp
|
| +++ b/Source/modules/encoding/TextDecoder.cpp
|
| @@ -38,9 +38,7 @@
|
|
|
| namespace WebCore {
|
|
|
| -DEFINE_GC_INFO(TextDecoder);
|
| -
|
| -PassRefPtrWillBeRawPtr<TextDecoder> TextDecoder::create(const String& label, const Dictionary& options, ExceptionState& exceptionState)
|
| +PassRefPtr<TextDecoder> TextDecoder::create(const String& label, const Dictionary& options, ExceptionState& exceptionState)
|
| {
|
| const String& encodingLabel = label.isNull() ? String("utf-8") : label;
|
|
|
| @@ -53,7 +51,7 @@
|
| bool fatal = false;
|
| options.get("fatal", fatal);
|
|
|
| - return adoptRefWillBeNoop(new TextDecoder(encoding.name(), fatal));
|
| + return adoptRef(new TextDecoder(encoding.name(), fatal));
|
| }
|
|
|
|
|
|
|