Index: src/jsregexp.cc |
diff --git a/src/jsregexp.cc b/src/jsregexp.cc |
index 347fc03e7b26d96751bc0e270296bf828a0a41e3..a3efb859ac66867d6931f9f1f8affb84254a9e44 100644 |
--- a/src/jsregexp.cc |
+++ b/src/jsregexp.cc |
@@ -309,16 +309,16 @@ int RegExpImpl::AtomExecRaw(Handle<JSRegExp> regexp, |
index = (needle_content.IsAscii() |
? (subject_content.IsAscii() |
? SearchString(isolate, |
- subject_content.ToAsciiVector(), |
- needle_content.ToAsciiVector(), |
+ subject_content.ToOneByteVector(), |
+ needle_content.ToOneByteVector(), |
index) |
: SearchString(isolate, |
subject_content.ToUC16Vector(), |
- needle_content.ToAsciiVector(), |
+ needle_content.ToOneByteVector(), |
index)) |
: (subject_content.IsAscii() |
? SearchString(isolate, |
- subject_content.ToAsciiVector(), |
+ subject_content.ToOneByteVector(), |
needle_content.ToUC16Vector(), |
index) |
: SearchString(isolate, |