UTF8 Adjustments for FormatURL(): Fix Overly-Aggressive DCHECK
commite28197654600a0d6e7f6525529e1a4046c2b2bd8
authormpearson@chromium.org <mpearson@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>
Wed, 23 Apr 2014 04:28:38 +0000 (23 04:28 +0000)
committermpearson@chromium.org <mpearson@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>
Wed, 23 Apr 2014 04:28:38 +0000 (23 04:28 +0000)
treeb68850f874343bc71ba3d5e1e9ddd555c5e46451
parentb3a84893aee323f458848fe2b28cc2d5a9aa8c97
UTF8 Adjustments for FormatURL(): Fix Overly-Aggressive DCHECK

This DCHECK is hard to understand, but now it's right.

I'm okay with removing it if you think it's too confusing.

TBR=willchan
(no review necessary; just for owners approval.  only mucks with tests.)

BUG=365384

Review URL: https://codereview.chromium.org/248453003

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@265540 0039d316-1c4b-4281-b951-d872f2087c98
base/strings/utf_offset_string_conversions.cc
net/base/escape_unittest.cc