From def7fce451d9f70ffa602d6e38524cb8ecc8adfa Mon Sep 17 00:00:00 2001 From: "pinkerton@google.com" Date: Wed, 17 Sep 2008 14:18:41 +0000 Subject: add a new xcconfig to build c++ files as obj-c++ to ensure correct linkage. Be more specific when using an overloaded operator since objective-c++ finds conflicts. Enable objective-C GC in our common config file for all projects. Review URL: http://codereview.chromium.org/2912 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@2305 0039d316-1c4b-4281-b951-d872f2087c98 --- webkit/glue/editor_client_impl.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'webkit/glue') diff --git a/webkit/glue/editor_client_impl.cc b/webkit/glue/editor_client_impl.cc index c81921d..7aebe06 100644 --- a/webkit/glue/editor_client_impl.cc +++ b/webkit/glue/editor_client_impl.cc @@ -552,7 +552,7 @@ bool EditorClientImpl::handleEditingKeyboardEvent( } if (evt->keyEvent()->text().length() == 1) { - UChar ch = evt->keyEvent()->text()[0]; + UChar ch = evt->keyEvent()->text()[0U]; // Don't insert null or control characters as they can result in // unexpected behaviour -- cgit v1.1