summaryrefslogtreecommitdiffstats
path: root/base/utf_string_conversion_utils.h
diff options
context:
space:
mode:
authorrsleevi@chromium.org <rsleevi@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-11-24 21:25:25 +0000
committerrsleevi@chromium.org <rsleevi@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-11-24 21:25:25 +0000
commit5026491dc760085cb5471e605459f86bdd978e25 (patch)
tree21d6a882788b53ec75c26e0a0709f4ea09897fe7 /base/utf_string_conversion_utils.h
parentfd8159c76721d4824a8b4518c46f8e8b44358790 (diff)
downloadchromium_src-5026491dc760085cb5471e605459f86bdd978e25.zip
chromium_src-5026491dc760085cb5471e605459f86bdd978e25.tar.gz
chromium_src-5026491dc760085cb5471e605459f86bdd978e25.tar.bz2
Revert 111548 - Broke OmniboxViewTest.AcceptKeywordBySpace on Linux
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 TBR=ncj674@motorola.com Review URL: http://codereview.chromium.org/8690006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@111558 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'base/utf_string_conversion_utils.h')
-rw-r--r--base/utf_string_conversion_utils.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/base/utf_string_conversion_utils.h b/base/utf_string_conversion_utils.h
index 71dc527..b100112 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.
-BASE_EXPORT size_t WriteUnicodeCharacter(uint32 code_point, string16* output);
+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