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

Unified Diff: src/runtime.cc

Issue 10975: Case folding mappings (Closed)
Patch Set: Replaced case folding with canonicalization Created 12 years, 1 month 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
« no previous file with comments | « no previous file | src/unicode.h » ('j') | test/cctest/test-regexp.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/runtime.cc
diff --git a/src/runtime.cc b/src/runtime.cc
index 335e6190a41398a9de485cc622a29305e6d244b2..dcec8384d9c0370836a9c26d50d4315d99d5cad8 100644
--- a/src/runtime.cc
+++ b/src/runtime.cc
@@ -2444,7 +2444,7 @@ static Object* ConvertCase(Arguments args,
// in the buffer
Access<StringInputBuffer> buffer(&string_input_buffer);
buffer->Reset(s);
- unibrow::uchar chars[unibrow::kMaxCaseConvertedSize];
+ unibrow::uchar chars[unibrow::kMaxMappingSize];
int i = 0;
// We can assume that the string is not empty
uc32 current = buffer->GetNext();
« no previous file with comments | « no previous file | src/unicode.h » ('j') | test/cctest/test-regexp.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698