diff options
author | ncj674@motorola.com <ncj674@motorola.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-11-24 19:19:29 +0000 |
---|---|---|
committer | ncj674@motorola.com <ncj674@motorola.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-11-24 19:19:29 +0000 |
commit | a82fd7054597a772df1e2d7e1c69a5d6c0508169 (patch) | |
tree | ca840691697ff65b53e43546da18f28088edfbab /base/utf_string_conversion_utils.h | |
parent | 422537de9822bdf52c242a98c2a095e18f4bd46d (diff) | |
download | chromium_src-a82fd7054597a772df1e2d7e1c69a5d6c0508169.zip chromium_src-a82fd7054597a772df1e2d7e1c69a5d6c0508169.tar.gz chromium_src-a82fd7054597a772df1e2d7e1c69a5d6c0508169.tar.bz2 |
Strip invalid characters (line breaks, tabs), javascript:schemes from the copied text while pasting text, droping text and creating right click popup for omnibox.
BUG=82181, 103703.
TEST=Copy a string with line breaks "\n" or tabs "\t".
Then right click on omnibox.
Chromium should not trigger DCHECKS.
Review URL: http://codereview.chromium.org/8513002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@111548 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'base/utf_string_conversion_utils.h')
-rw-r--r-- | base/utf_string_conversion_utils.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/base/utf_string_conversion_utils.h b/base/utf_string_conversion_utils.h index b100112..71dc527 100644 --- a/base/utf_string_conversion_utils.h +++ b/base/utf_string_conversion_utils.h @@ -67,7 +67,7 @@ BASE_EXPORT size_t WriteUnicodeCharacter(uint32 code_point, // Appends the given code point as a UTF-16 character to the given 16-bit // string. Returns the number of 16-bit values written. -size_t WriteUnicodeCharacter(uint32 code_point, string16* output); +BASE_EXPORT size_t WriteUnicodeCharacter(uint32 code_point, string16* output); #if defined(WCHAR_T_IS_UTF32) // Appends the given UTF-32 character to the given 32-bit string. Returns the |