namespace WebCore {
-PassRefPtr<TextDecoder> TextDecoder::create(const String& label, const Dictionary& options, ExceptionState& exceptionState)
+DEFINE_GC_INFO(TextDecoder);
+
+PassRefPtrWillBeRawPtr<TextDecoder> TextDecoder::create(const String& label, const Dictionary& options, ExceptionState& exceptionState)
{
const String& encodingLabel = label.isNull() ? String("utf-8") : label;
bool fatal = false;
options.get("fatal", fatal);
- return adoptRef(new TextDecoder(encoding.name(), fatal));
+ return adoptRefWillBeNoop(new TextDecoder(encoding.name(), fatal));
}