From f807277b25e4ab3199d515d7e97e210350fac49f Mon Sep 17 00:00:00 2001 From: yangguo Date: Wed, 21 Jan 2015 00:55:05 -0800 Subject: [PATCH] Remove implicit uint8_t to char cast in string replace. R=jkummerow@chromium.org BUG=446196 LOG=Y Review URL: https://codereview.chromium.org/864753003 Cr-Commit-Position: refs/heads/master@{#26181} --- src/runtime/runtime-regexp.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/runtime/runtime-regexp.cc b/src/runtime/runtime-regexp.cc index e2cf202..64a2d57 100644 --- a/src/runtime/runtime-regexp.cc +++ b/src/runtime/runtime-regexp.cc @@ -278,7 +278,7 @@ void CompiledReplacement::Apply(ReplacementStringBuilder* builder, } -void FindOneByteStringIndices(Vector subject, char pattern, +void FindOneByteStringIndices(Vector subject, uint8_t pattern, ZoneList* indices, unsigned int limit, Zone* zone) { DCHECK(limit > 0); -- 2.7.4