commit | 73408f40725d9a738c12a61b51bece069ca5dd53 | [log] [tgz] |
---|---|---|
author | fs <fs@opera.com> | Mon Feb 15 13:13:49 2016 |
committer | Commit bot <commit-bot@chromium.org> | Mon Feb 15 13:16:00 2016 |
tree | 3c80d3b8db4ce0944e46c8dc33047920d8920990 | |
parent | 73551e941eef518e8dba45a204f430c130a8355a [diff] |
Check length of String before checking if it's 8/16 bit String::is8Bit() can't be called on 'null' Strings, so check if the length is zero first. BUG=586135 Review URL: https://codereview.chromium.org/1694773002 Cr-Commit-Position: refs/heads/master@{#375451}