Index: Source/modules/encoding/TextDecoder.cpp |
diff --git a/Source/modules/encoding/TextDecoder.cpp b/Source/modules/encoding/TextDecoder.cpp |
index 03186dcdef1c36a13680f5536c48d8da7654df00..6dd5c2b5bd45caf847ff93a1128de0d24c953f5c 100644 |
--- a/Source/modules/encoding/TextDecoder.cpp |
+++ b/Source/modules/encoding/TextDecoder.cpp |
@@ -106,8 +106,8 @@ String TextDecoder::decode(ArrayBufferView* input, const TextDecodeOptions& opti |
String TextDecoder::decode(ExceptionState& exceptionState) |
{ |
- TextDecodeOptions* options = TextDecodeOptions::create(); |
- return decode(0, *options, exceptionState); |
+ TextDecodeOptions options; |
+ return decode(0, options, exceptionState); |
} |
} // namespace blink |