Closed Bug 1543564 Opened 6 years ago Closed 6 years ago

Get rid of pointless AsInner/AsOuter methods on windows

Categories

(Core :: DOM: Core & HTML, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla68
Tracking Status
firefox68 --- fixed

People

(Reporter: bzbarsky, Assigned: bzbarsky)

Details

Attachments

(3 files)

They return the same type as they're called on, so there's not much point apart from maybe a confusing cast to a superclass to avoid ambiguity, which we can do better, I expect.

Pushed by bzbarsky@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/a1b827eab86f part 1. Get rid of pointless nsPIDOMWindowOuter::AsOuter() methods. r=farre https://hg.mozilla.org/integration/autoland/rev/27a7ba728216 part 2. Get rid of pointless nsPIDOMWindowInner::AsInner methods. r=farre https://hg.mozilla.org/integration/autoland/rev/abafb9533234 part 3. Get rid of pointless nsPIDOMWindowOuter::GetOuterWindow method. r=farre
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: