summaryrefslogtreecommitdiffstats
path: root/webkit/glue/editor_client_impl.cc
diff options
context:
space:
mode:
authorpinkerton@google.com <pinkerton@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2008-09-17 14:18:41 +0000
committerpinkerton@google.com <pinkerton@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2008-09-17 14:18:41 +0000
commitdef7fce451d9f70ffa602d6e38524cb8ecc8adfa (patch)
treeb29121993862cd71dda6dfcdcebb47ac48a3a163 /webkit/glue/editor_client_impl.cc
parent2fb5bbd13a4599e024028bf16e35e49de119e80a (diff)
downloadchromium_src-def7fce451d9f70ffa602d6e38524cb8ecc8adfa.zip
chromium_src-def7fce451d9f70ffa602d6e38524cb8ecc8adfa.tar.gz
chromium_src-def7fce451d9f70ffa602d6e38524cb8ecc8adfa.tar.bz2
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
Diffstat (limited to 'webkit/glue/editor_client_impl.cc')
-rw-r--r--webkit/glue/editor_client_impl.cc2
1 files changed, 1 insertions, 1 deletions
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