Description[regexp] fix bogus assertion in CharacterRange constructor.
The CharacterRange constructor checks the input for validity. However,
CharacterRange::Singleton also uses the constructor and may have
kEndMarker as input, causing the check to fail.
The solution is to move the check to CharacterRange::Range and
consistently use it across the code base.
R=jkummerow@chromium.org
BUG=chromium:593282
LOG=N
Committed: https://crrev.com/d1f68f776eafa62d4bd1cc3465d18c2e47473381
Cr-Commit-Position: refs/heads/master@{#34626}
Patch Set 1 #
Messages
Total messages: 13 (6 generated)
|