Closed Bug 265253 Opened 20 years ago Closed 20 years ago

nsWebBrowser::RemoveWebBrowserListener incorrectly passes nsIWeakRef

Categories

(Core Graveyard :: Embedding: GRE Core, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: jhpedemonte, Assigned: dougt)

Details

Attachments

(1 file)

RemoveWebBrowserListener() takes an |nsIWeakReference*| as the first parameter.
 The code at the bottom of that function queries the referent, but then passes
the |nsIWeakReference*| to UnBindListener();  this function expects the referent.
Attached patch patchSplinter Review
Attachment #162716 - Flags: review?(darin)
Summary: RemoveWebBrowserListener incorrectly passes nsIWeakRef → nsWebBrowser::RemoveWebBrowserListener incorrectly passes nsIWeakRef
Comment on attachment 162716 [details] [diff] [review]
patch

r+sr=darin
Attachment #162716 - Flags: superreview+
Attachment #162716 - Flags: review?(darin)
Attachment #162716 - Flags: review+
Checked into trunk.
Status: NEW → RESOLVED
Closed: 20 years ago
Resolution: --- → FIXED
Product: Core → Core Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: