Index: Source/modules/encoding/TextEncoder.cpp |
diff --git a/Source/modules/encoding/TextEncoder.cpp b/Source/modules/encoding/TextEncoder.cpp |
index 723f7666db87e7b17b1eb913ddfef419c3741495..f86c64955beea8b7416dc88ee0f558cd1fdd54f7 100644 |
--- a/Source/modules/encoding/TextEncoder.cpp |
+++ b/Source/modules/encoding/TextEncoder.cpp |
@@ -76,7 +76,7 @@ String TextEncoder::encoding() const |
PassRefPtr<Uint8Array> TextEncoder::encode(const String& input, const Dictionary& options) |
{ |
bool stream = false; |
- options.get("stream", stream); |
+ DictionaryHelper::get(options, "stream", stream); |
// FIXME: Not flushing is not supported by TextCodec for encode; add it or |
// handle split surrogates here. |