DescriptionAdd check to make TextMatchMarker cast safer
Currently, ToTextMatchMarker() is an unchecked cast. This CL adds a condition
for describing when this cast is safe so this cast can be DCHECKed in debug
mode.
BUG=707867
Review-Url: https://codereview.chromium.org/2904123003
Cr-Commit-Position: refs/heads/master@{#475112}
Committed: https://chromium.googlesource.com/chromium/src/+/4c1c503b1d3d6a8f4f7fcfce84796a0877255d1d
Patch Set 1 #Patch Set 2 : Remove dep #Messages
Total messages: 10 (5 generated)
|