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

Unified Diff: third_party/WebKit/Source/platform/text/TextEncodingDetector.cpp

Issue 1721373002: UTF-8 detector for pages missing encoding info (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: left out test files that should be landed manually Created 4 years, 8 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/platform/text/TextEncodingDetector.cpp
diff --git a/third_party/WebKit/Source/platform/text/TextEncodingDetector.cpp b/third_party/WebKit/Source/platform/text/TextEncodingDetector.cpp
index 616aac0114d74ae3f284b97a740124242c7c7e3e..476d992a616816ac845d56c88d27756c26438585 100644
--- a/third_party/WebKit/Source/platform/text/TextEncodingDetector.cpp
+++ b/third_party/WebKit/Source/platform/text/TextEncodingDetector.cpp
@@ -36,7 +36,7 @@
namespace blink {
-bool detectTextEncoding(const char* data, size_t length,
+bool detectTextEncodingUniversal(const char* data, size_t length,
const char* hintEncodingName, WTF::TextEncoding* detectedEncoding)
{
*detectedEncoding = WTF::TextEncoding();
« no previous file with comments | « third_party/WebKit/Source/platform/text/TextEncodingDetector.h ('k') | third_party/WebKit/Source/wtf/text/UTF8.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698