summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorstevenjb@google.com <stevenjb@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2011-09-30 23:59:35 +0000
committerstevenjb@google.com <stevenjb@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2011-09-30 23:59:35 +0000
commit719f9c66f051914fe3d41e7815afd541e7ed6a7f (patch)
tree0b8cea0a347c10e7063468ac42a13a37a3f5005f
parentb3c46f48b582f5608c588201ec3609d8b727471f (diff)
downloadchromium_src-719f9c66f051914fe3d41e7815afd541e7ed6a7f.zip
chromium_src-719f9c66f051914fe3d41e7815afd541e7ed6a7f.tar.gz
chromium_src-719f9c66f051914fe3d41e7815afd541e7ed6a7f.tar.bz2
Copy gdk_event_ in class Event
Change-Id: Ie68832491806e0414193b445cdd5a5e02313ea08 BUG=chromium-os:21063 TEST=See issue (dragging panel on ChromeOS shouldn't crash) Review URL: http://codereview.chromium.org/8095014 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@103591 0039d316-1c4b-4281-b951-d872f2087c98
-rw-r--r--views/events/event.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/views/events/event.h b/views/events/event.h
index cd9e648..d8777e7 100644
--- a/views/events/event.h
+++ b/views/events/event.h
@@ -100,6 +100,9 @@ class VIEWS_EXPORT Event {
Event(const Event& model)
: native_event_(model.native_event()),
+#if defined(TOOLKIT_USES_GTK)
+ gdk_event_(model.gdk_event_),
+#endif
type_(model.type()),
time_stamp_(model.time_stamp()),
flags_(model.flags()) {