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

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

Issue 1424303002: Remove unused support for NFC normalization during text encoding (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@nfc-remove
Patch Set: Created 5 years, 2 months 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 14d256c53d41ddf835b36ae0530b90c5d8a5e686..71b829a851c02b331640881271469d4d89fc7b9d 100644
--- a/third_party/WebKit/Source/wtf/text/TextEncoding.h
+++ b/third_party/WebKit/Source/wtf/text/TextEncoding.h
@@ -52,12 +52,8 @@ public:
}
String decode(const char*, size_t length, bool stopOnError, bool& sawError) const;
- // Encodes the string, but does *not* normalize first.
CString encode(const String&, UnencodableHandling) const;
- // Applies Unicode NFC normalization, then encodes the normalized string.
- CString normalizeAndEncode(const String&, UnencodableHandling) const;
-
private:
bool isNonByteBasedEncoding() const;
bool isUTF7Encoding() const;
« no previous file with comments | « third_party/WebKit/Source/wtf/text/StringUTF8Adaptor.h ('k') | third_party/WebKit/Source/wtf/text/TextEncoding.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698