Index: Source/modules/encoding/TextEncoder.cpp |
diff --git a/Source/modules/encoding/TextEncoder.cpp b/Source/modules/encoding/TextEncoder.cpp |
index 741314b091a1698b05369c9ef4761e4f730e60a5..15f23804f413cbedb509ea5f18bffc3f6e9320db 100644 |
--- a/Source/modules/encoding/TextEncoder.cpp |
+++ b/Source/modules/encoding/TextEncoder.cpp |
@@ -39,7 +39,7 @@ |
namespace WebCore { |
-PassRefPtrWillBeRawPtr<TextEncoder> TextEncoder::create(const String& utfLabel, ExceptionState& exceptionState) |
+TextEncoder* TextEncoder::create(const String& utfLabel, ExceptionState& exceptionState) |
{ |
const String& encodingLabel = utfLabel.isNull() ? String("utf-8") : utfLabel; |
@@ -55,7 +55,7 @@ PassRefPtrWillBeRawPtr<TextEncoder> TextEncoder::create(const String& utfLabel, |
return nullptr; |
Mads Ager (chromium)
2014/04/11 10:19:25
0
|
} |
- return adoptRefWillBeNoop(new TextEncoder(encoding.name())); |
+ return new TextEncoder(encoding.name()); |
} |
TextEncoder::TextEncoder(const String& encoding) |