| Index: content/browser/renderer_host/native_web_keyboard_event_android.cc
|
| diff --git a/content/browser/renderer_host/native_web_keyboard_event_android.cc b/content/browser/renderer_host/native_web_keyboard_event_android.cc
|
| index 94f3a4ac0be0ed69b6464a0c3b9ae309d5f3992f..be5f9913103186567966b77621eaa9e961c20eef 100644
|
| --- a/content/browser/renderer_host/native_web_keyboard_event_android.cc
|
| +++ b/content/browser/renderer_host/native_web_keyboard_event_android.cc
|
| @@ -26,7 +26,8 @@ namespace content {
|
|
|
| NativeWebKeyboardEvent::NativeWebKeyboardEvent()
|
| : os_event(nullptr),
|
| - skip_in_browser(false) {
|
| + skip_in_browser(false),
|
| + is_synthetic(false) {
|
| }
|
|
|
| NativeWebKeyboardEvent::NativeWebKeyboardEvent(
|
| @@ -49,7 +50,8 @@ NativeWebKeyboardEvent::NativeWebKeyboardEvent(
|
| unicode_character,
|
| is_system_key)),
|
| os_event(nullptr),
|
| - skip_in_browser(false) {
|
| + skip_in_browser(false),
|
| + is_synthetic(false) {
|
| if (!android_key_event.is_null())
|
| os_event = NewGlobalRefForKeyEvent(android_key_event.obj());
|
| }
|
| @@ -58,7 +60,8 @@ NativeWebKeyboardEvent::NativeWebKeyboardEvent(
|
| const NativeWebKeyboardEvent& other)
|
| : WebKeyboardEvent(other),
|
| os_event(NewGlobalRefForKeyEvent(other.os_event)),
|
| - skip_in_browser(other.skip_in_browser) {
|
| + skip_in_browser(other.skip_in_browser),
|
| + is_synthetic(other.is_synthetic) {
|
| }
|
|
|
| NativeWebKeyboardEvent& NativeWebKeyboardEvent::operator=(
|
| @@ -67,6 +70,7 @@ NativeWebKeyboardEvent& NativeWebKeyboardEvent::operator=(
|
|
|
| os_event = NewGlobalRefForKeyEvent(other.os_event);
|
| skip_in_browser = other.skip_in_browser;
|
| + is_synthetic = other.is_synthetic;
|
|
|
| return *this;
|
| }
|
|
|