summaryrefslogtreecommitdiffstats
path: root/WebKit/android/jni
diff options
context:
space:
mode:
authorJeff Brown <jeffbrown@google.com>2010-07-13 17:46:27 -0700
committerAndroid Git Automerger <android-git-automerger@android.com>2010-07-13 17:46:27 -0700
commitb47b5d4ad21fc9f19fc8e6c0f453032658cad4cf (patch)
tree912ddbedb179477ed845b749e301d9be1ba2caeb /WebKit/android/jni
parentb34d9d688a0b9fc74c04ac9aba0ad7d6cbe10010 (diff)
parent652e9a017a7c5c772361bf57279fae0c26992329 (diff)
downloadexternal_webkit-b47b5d4ad21fc9f19fc8e6c0f453032658cad4cf.zip
external_webkit-b47b5d4ad21fc9f19fc8e6c0f453032658cad4cf.tar.gz
external_webkit-b47b5d4ad21fc9f19fc8e6c0f453032658cad4cf.tar.bz2
am 652e9a01: Migrate to new keycode constants in keycodes.h.
Merge commit '652e9a017a7c5c772361bf57279fae0c26992329' into gingerbread-plus-aosp * commit '652e9a017a7c5c772361bf57279fae0c26992329': Migrate to new keycode constants in keycodes.h.
Diffstat (limited to 'WebKit/android/jni')
-rw-r--r--WebKit/android/jni/WebViewCore.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/WebKit/android/jni/WebViewCore.cpp b/WebKit/android/jni/WebViewCore.cpp
index 70e96cd..1562775 100644
--- a/WebKit/android/jni/WebViewCore.cpp
+++ b/WebKit/android/jni/WebViewCore.cpp
@@ -1688,8 +1688,8 @@ void WebViewCore::deleteSelection(int start, int end, int textGeneration)
EditorClientAndroid* client = static_cast<EditorClientAndroid*>(
m_mainFrame->editor()->client());
client->setUiGeneratedSelectionChange(true);
- PlatformKeyboardEvent down(kKeyCodeDel, 0, 0, true, false, false, false);
- PlatformKeyboardEvent up(kKeyCodeDel, 0, 0, false, false, false, false);
+ PlatformKeyboardEvent down(AKEYCODE_DEL, 0, 0, true, false, false, false);
+ PlatformKeyboardEvent up(AKEYCODE_DEL, 0, 0, false, false, false, false);
key(down);
key(up);
client->setUiGeneratedSelectionChange(false);