Index: test/cctest/test-regexp.cc |
diff --git a/test/cctest/test-regexp.cc b/test/cctest/test-regexp.cc |
index 3b664a1cd4a37cc86475267187742bc24830b11f..6aa0730c0d776f9321f58cfd2692bd8d3feeadc8 100644 |
--- a/test/cctest/test-regexp.cc |
+++ b/test/cctest/test-regexp.cc |
@@ -74,7 +74,7 @@ static SmartPointer<const char> Parse(const char* input) { |
static bool CheckSimple(const char* input) { |
V8::Initialize(NULL); |
v8::HandleScope scope; |
- unibrow::Utf8InputBuffer<> buffer(input, strlen(input)); |
+ unibrow::Utf8InputBuffer<> buffer(input, StrLength(input)); |
ZoneScope zone_scope(DELETE_ON_EXIT); |
FlatStringReader reader(CStrVector(input)); |
RegExpCompileData result; |
@@ -92,7 +92,7 @@ struct MinMaxPair { |
static MinMaxPair CheckMinMaxMatch(const char* input) { |
V8::Initialize(NULL); |
v8::HandleScope scope; |
- unibrow::Utf8InputBuffer<> buffer(input, strlen(input)); |
+ unibrow::Utf8InputBuffer<> buffer(input, StrLength(input)); |
ZoneScope zone_scope(DELETE_ON_EXIT); |
FlatStringReader reader(CStrVector(input)); |
RegExpCompileData result; |