Closed Bug 1547536 Opened 5 years ago Closed 5 years ago

Make PresShell QI-able

Categories

(Core :: Layout, task)

task
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla68
Tracking Status
firefox68 --- fixed

People

(Reporter: masayuki, Assigned: masayuki)

References

Details

Attachments

(1 file)

There is the following usage of nsIPresShell:

nsCOMPtr<nsIPresShell> presShell = do_QueryReferent(mPresShellWeak);

So, for changing this to:

nsCOMPtr<PresShell> presShell = do_QueryReferent(mPresShellWeak);

PresShell should have its own IID.

There is the following usage of nsIPresShell:

nsCOMPtr<nsIPresShell> presShell = do_QueryReferent(mPresShellWeak);

So, for changing this to:

RefPtr<PresShell> presShell = do_QueryReferent(mPresShellWeak);

PresShell should have its own IID.

Pushed by masayuki@d-toybox.com:
https://hg.mozilla.org/integration/autoland/rev/d3399524b672
Make PresShell QI-able for aware of do_QueryReferent() r=smaug
Status: ASSIGNED → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla68
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: