Index: third_party/WebKit/Source/wtf/text/TextEncoding.h |
diff --git a/third_party/WebKit/Source/wtf/text/TextEncoding.h b/third_party/WebKit/Source/wtf/text/TextEncoding.h |
index 71b829a851c02b331640881271469d4d89fc7b9d..0ce850376cd63cd5a0f69bb6758dcf375cc82da6 100644 |
--- a/third_party/WebKit/Source/wtf/text/TextEncoding.h |
+++ b/third_party/WebKit/Source/wtf/text/TextEncoding.h |
@@ -53,6 +53,7 @@ public: |
String decode(const char*, size_t length, bool stopOnError, bool& sawError) const; |
CString encode(const String&, UnencodableHandling) const; |
+ CString encodeBOMifApplicable() const; |
private: |
bool isNonByteBasedEncoding() const; |