| Index: Source/modules/encoding/TextEncoder.cpp
|
| diff --git a/Source/modules/encoding/TextEncoder.cpp b/Source/modules/encoding/TextEncoder.cpp
|
| index 723f7666db87e7b17b1eb913ddfef419c3741495..d44de6c58c1c840678a3ab394b0ffea89fec7ce6 100644
|
| --- a/Source/modules/encoding/TextEncoder.cpp
|
| +++ b/Source/modules/encoding/TextEncoder.cpp
|
| @@ -33,6 +33,7 @@
|
| #include "modules/encoding/TextEncoder.h"
|
|
|
| #include "bindings/core/v8/Dictionary.h"
|
| +#include "bindings/core/v8/DictionaryHelper.h"
|
| #include "bindings/core/v8/ExceptionState.h"
|
| #include "wtf/text/CString.h"
|
| #include "wtf/text/TextEncodingRegistry.h"
|
| @@ -76,7 +77,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.
|
|
|