Closed
Bug 501746
Opened 17 years ago
Closed 17 years ago
nsChildView::DispatchEvent() has a stack nsCOMPtr that needs a QueryInterface call
Categories
(Core :: Widget: Cocoa, defect)
Tracking
()
RESOLVED
FIXED
People
(Reporter: nick.kreeger, Assigned: nick.kreeger)
Details
Attachments
(1 file)
|
983 bytes,
patch
|
jaas
:
review+
|
Details | Diff | Splinter Review |
While I was running with a debug XULRunner - I kept getting this warning logged in my console:
QueryInterface needed:..... (whatev)
I tracked this down and found that inside of |DispatchEvent()| a grip is put on either |mParentWidget| (which is fine) and |this| (which is the problem).
I have a one line patch to fix this.
| Assignee | ||
Comment 1•17 years ago
|
||
Here is my proposed patch.
Attachment #386317 -
Flags: review? → review+
| Assignee | ||
Comment 2•17 years ago
|
||
Pushed to mozilla-central. Thanks Josh!
changeset: 29938:0d648609ce81
user: Nick Kreeger <nick.kreeger@park.edu>
date: Wed Jul 01 11:41:34 2009 -0700
summary: Fixing bug 501746 - nsChildView::DispatchEvent() has a stack nsCOMPtr that needs a QueryInterface call.
changeset: 29943:ea19cebaa1ef
tag: tip
parent: 29938:0d648609ce81
parent: 29942:b15a28eeed13
user: Nick Kreeger <nick.kreeger@park.edu>
date: Wed Jul 01 11:45:18 2009 -0700
summary: Merging for checkin of bug 501746
Status: ASSIGNED → RESOLVED
Closed: 17 years ago
Resolution: --- → FIXED
Updated•17 years ago
|
Component: Widget: Mac → Widget: Cocoa
QA Contact: mac → cocoa
You need to log in
before you can comment on or make changes to this bug.
Description
•