| Index: third_party/WebKit/Source/wtf/text/TextCodecUTF16.cpp
|
| diff --git a/third_party/WebKit/Source/wtf/text/TextCodecUTF16.cpp b/third_party/WebKit/Source/wtf/text/TextCodecUTF16.cpp
|
| index 3d0f24e53eae3af8d182d75eb62e6141408003cf..10751383180e43f889a2419f10317eaab313f417 100644
|
| --- a/third_party/WebKit/Source/wtf/text/TextCodecUTF16.cpp
|
| +++ b/third_party/WebKit/Source/wtf/text/TextCodecUTF16.cpp
|
| @@ -187,4 +187,10 @@ CString TextCodecUTF16::encode(const LChar* characters, size_t length, Unencodab
|
| return result;
|
| }
|
|
|
| +bool TextCodecUTF16::shouldIncludeBOM()
|
| +{
|
| + // Always include BOM for UTF16.
|
| + return true;
|
| +}
|
| +
|
| } // namespace WTF
|
|
|