From 5026491dc760085cb5471e605459f86bdd978e25 Mon Sep 17 00:00:00 2001 From: "rsleevi@chromium.org" Date: Thu, 24 Nov 2011 21:25:25 +0000 Subject: 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 --- base/utf_string_conversion_utils.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'base/utf_string_conversion_utils.h') 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 -- cgit v1.1