Title: [184402] trunk/Source/WebCore
- Revision
- 184402
- Author
- [email protected]
- Date
- 2015-05-15 11:44:12 -0700 (Fri, 15 May 2015)
Log Message
Fix trivial typo in TextEncodingDetectorICU.cpp.
https://bugs.webkit.org/show_bug.cgi?id=145055
Patch by Sungmann Cho <[email protected]> on 2015-05-15
Reviewed by Alexey Proskuryakov.
No new tests, no behavior change..
* platform/text/TextEncodingDetectorICU.cpp:
(WebCore::detectTextEncoding):
Modified Paths
Diff
Modified: trunk/Source/WebCore/ChangeLog (184401 => 184402)
--- trunk/Source/WebCore/ChangeLog 2015-05-15 18:41:54 UTC (rev 184401)
+++ trunk/Source/WebCore/ChangeLog 2015-05-15 18:44:12 UTC (rev 184402)
@@ -1,3 +1,15 @@
+2015-05-15 Sungmann Cho <[email protected]>
+
+ Fix trivial typo in TextEncodingDetectorICU.cpp.
+ https://bugs.webkit.org/show_bug.cgi?id=145055
+
+ Reviewed by Alexey Proskuryakov.
+
+ No new tests, no behavior change..
+
+ * platform/text/TextEncodingDetectorICU.cpp:
+ (WebCore::detectTextEncoding):
+
2015-05-15 Alexey Proskuryakov <[email protected]>
Cyrillic top-level domains are displayed as punycode
Modified: trunk/Source/WebCore/platform/text/TextEncodingDetectorICU.cpp (184401 => 184402)
--- trunk/Source/WebCore/platform/text/TextEncodingDetectorICU.cpp 2015-05-15 18:41:54 UTC (rev 184401)
+++ trunk/Source/WebCore/platform/text/TextEncodingDetectorICU.cpp 2015-05-15 18:44:12 UTC (rev 184402)
@@ -79,14 +79,14 @@
// the chunk is consistent with a set of encodings. So, instead of
// setting an arbitrary threshold, we have to scan all the encodings
// consistent with the data.
- const int32_t kThresold = 10;
+ const int32_t kThreshold = 10;
for (int i = 0; i < matchesCount; ++i) {
int32_t confidence = ucsdet_getConfidence(matches[i], &status);
if (U_FAILURE(status)) {
status = U_ZERO_ERROR;
continue;
}
- if (confidence < kThresold)
+ if (confidence < kThreshold)
break;
const char* matchEncoding = ucsdet_getName(matches[i], &status);
if (U_FAILURE(status)) {
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes