diff options
author | sreeram@chromium.org <sreeram@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-03-29 19:34:22 +0000 |
---|---|---|
committer | sreeram@chromium.org <sreeram@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-03-29 19:34:22 +0000 |
commit | 49d962cc0760d0630638cdca88a7f7364a249aca (patch) | |
tree | b1f8c395456aa8d9689f19c69263552629ed219e | |
parent | dfdd26f95b4a46fef3084566a82339255305117a (diff) | |
download | chromium_src-49d962cc0760d0630638cdca88a7f7364a249aca.zip chromium_src-49d962cc0760d0630638cdca88a7f7364a249aca.tar.gz chromium_src-49d962cc0760d0630638cdca88a7f7364a249aca.tar.bz2 |
Merge 191135 "InstantExtended: Fixing wrong charset in suggestio..."
> InstantExtended: Fixing wrong charset in suggestion iframes.
>
> Iframes used in instant extended to show suggestions haave a data:// URI that
> does not specify the right charset (should be utf-8). Fixed in this CL.
>
> BUG=224045
>
>
> Review URL: https://chromiumcodereview.appspot.com/12928006
TBR=shishir@chromium.org
Review URL: https://codereview.chromium.org/13339002
git-svn-id: svn://svn.chromium.org/chrome/branches/1453/src@191426 0039d316-1c4b-4281-b951-d872f2087c98
-rw-r--r-- | chrome/renderer/searchbox/searchbox.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/chrome/renderer/searchbox/searchbox.cc b/chrome/renderer/searchbox/searchbox.cc index 6fb93fe..13e6835 100644 --- a/chrome/renderer/searchbox/searchbox.cc +++ b/chrome/renderer/searchbox/searchbox.cc @@ -449,7 +449,7 @@ bool SearchBox::GenerateDataURLForSuggestionRequest(const GURL& request_url, response_html = kInvalidSuggestionHtml; } - *data_url = GURL("data:text/html," + response_html); + *data_url = GURL("data:text/html;charset=utf-8," + response_html); return true; } |