Closed Bug 1494000 Opened 6 years ago Closed 6 years ago

Use Element::GetFrame in XULMenuElement and XULPopupElement

Categories

(Core :: XUL, enhancement, P5)

enhancement

Tracking

()

RESOLVED FIXED
mozilla64
Tracking Status
firefox64 --- fixed

People

(Reporter: enndeakin, Assigned: enndeakin)

References

Details

Attachments

(1 file)

      No description provided.
Assignee: nobody → enndeakin
Attachment #9012189 - Flags: review?(bzbarsky)
Priority: -- → P5
Comment on attachment 9012189 [details] [diff] [review]
Use Element::GetFrame in XULMenuElement and XULPopupElement

>Bug 1494000, use Element::GetFrame in XULMenuElement and XULPopupElement, r=bz

GetPrimaryFrame, not GetFrame.

> XULPopupElement::GetOuterScreenRect()

This should get a MOZ_CAN_RUN_SCRIPT annotation.

> XULPopupElement::GetAlignmentPosition()

Same.

> XULPopupElement::AlignmentOffset()

Same.

> XULPopupElement::SetConstraintRect

Same.

r=me with those nits fixed.  Thank you!
Attachment #9012189 - Flags: review?(bzbarsky) → review+
Pushed by neil@mozilla.com:
https://hg.mozilla.org/integration/mozilla-inbound/rev/4a22c1051967
use Element::GetFrame in XULMenuElement and XULPopupElement, r=bz
https://hg.mozilla.org/mozilla-central/rev/4a22c1051967
Status: ASSIGNED → RESOLVED
Closed: 6 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla64
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: