Closed Bug 964153 Opened 6 years ago Closed 6 years ago
Touch Event copies the strong reference to widget at duplicating private event data
Only WidgetTouchEvent copies WidgetGUIEvent::widget at duplicating private event data. It occurs at nsDOMEvent::DuplicatePrivateData() called. I guess that it's just a bug since it uses copy constructor like constructor without any additional code. The change is by Wes Johnston at bug 741666. Wes Johnston: Did you copy the widget intentionally?
I don't think this was intentional on my part.
Thank you. I think that we shouldn't copy it. https://tbpl.mozilla.org/?tree=Try&usebuildbot=1&rev=1e70b2cb007b
Assignee: nobody → masayuki
Status: NEW → ASSIGNED
Status: ASSIGNED → RESOLVED
Closed: 6 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla30
You need to log in before you can comment on or make changes to this bug.