Fix check for 8 bit string in v8_inspector_string

This caused 16 bit strings to be encoded as 8 bit strings.

Change-Id: Icce31ca0cf043abee3793fc9852eeb2e5839c2fe
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1500786
Reviewed-by: Johannes Henkel <johannes@chromium.org>
Commit-Queue: Johannes Henkel <johannes@chromium.org>
Auto-Submit: Andrey Kosyakov <caseq@chromium.org>
Cr-Commit-Position: refs/heads/master@{#637499}
1 file changed