Index: chrome/common/native_web_keyboard_event_mac.mm |
diff --git a/chrome/common/native_web_keyboard_event_mac.mm b/chrome/common/native_web_keyboard_event_mac.mm |
index b9922bb36dd26ae0870a1a7ff024a7f6cde9f14b..59e0ace76d5e393cec33880a32633dbde5be0b9b 100644 |
--- a/chrome/common/native_web_keyboard_event_mac.mm |
+++ b/chrome/common/native_web_keyboard_event_mac.mm |
@@ -11,12 +11,14 @@ |
using WebKit::WebInputEventFactory; |
NativeWebKeyboardEvent::NativeWebKeyboardEvent() |
- : os_event(NULL) { |
+ : os_event(NULL), |
+ skip_in_browser(false) { |
} |
NativeWebKeyboardEvent::NativeWebKeyboardEvent(NSEvent* event) |
: WebKeyboardEvent(WebInputEventFactory::keyboardEvent(event)), |
- os_event([event retain]) { |
+ os_event([event retain]), |
+ skip_in_browser(false) { |
} |
NativeWebKeyboardEvent::NativeWebKeyboardEvent(wchar_t character, |
@@ -25,13 +27,15 @@ NativeWebKeyboardEvent::NativeWebKeyboardEvent(wchar_t character, |
: WebKeyboardEvent(WebInputEventFactory::keyboardEvent(character, |
modifiers, |
time_stamp_seconds)), |
- os_event(NULL) { |
+ os_event(NULL), |
+ skip_in_browser(false) { |
} |
NativeWebKeyboardEvent::NativeWebKeyboardEvent( |
const NativeWebKeyboardEvent& other) |
: WebKeyboardEvent(other), |
- os_event([other.os_event retain]) { |
+ os_event([other.os_event retain]), |
+ skip_in_browser(other.skip_in_browser) { |
} |
NativeWebKeyboardEvent& NativeWebKeyboardEvent::operator=( |
@@ -42,6 +46,8 @@ NativeWebKeyboardEvent& NativeWebKeyboardEvent::operator=( |
os_event = [other.os_event retain]; |
[previous release]; |
+ skip_in_browser = other.skip_in_browser; |
+ |
return *this; |
} |