[fuchsia] Fix a bug in NormalizeConsoleLogMessage
Previously, the string positions were calculated then used to replace parts of the string left to right, which produced the wrong string when code was added earlier in the file causing the messages to be logged from a four-digit line number in frame_impl.cc. (It would have also failed had the function been moved to the beginning of the file and had a two-digit line number.) Bug: 1136681 Change-Id: Ia5e9a7f11a676d8fc538a19322274ae66e47d9a0 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2573198 Commit-Queue: Wez <wez@chromium.org> Reviewed-by:Wez <wez@chromium.org> Reviewed-by:
Sergey Ulanov <sergeyu@chromium.org> Cr-Commit-Position: refs/heads/master@{#834030}
Showing
Please register or sign in to comment