Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(227)

Unified Diff: third_party/WebKit/Source/wtf/text/TextEncoding.h

Issue 1407663004: Tweaking WebPageSerializerImpl to emit a BOM for UTF16/32. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Using TextEncoding::isNonByteBasedEncoding instead. Created 5 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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..bb40b96190eee36077181702c88506e5df8700ec 100644
--- a/third_party/WebKit/Source/wtf/text/TextEncoding.h
+++ b/third_party/WebKit/Source/wtf/text/TextEncoding.h
@@ -54,8 +54,9 @@ public:
CString encode(const String&, UnencodableHandling) const;
-private:
bool isNonByteBasedEncoding() const;
+
+private:
bool isUTF7Encoding() const;
const char* m_name;

Powered by Google App Engine
This is Rietveld 408576698