Factor out the three arms of SurfaceFromElement into separate functions

RESOLVED FIXED in mozilla15

Status

()

Core
Layout
RESOLVED FIXED
5 years ago
5 years ago

People

(Reporter: bz, Assigned: bz)

Tracking

unspecified
mozilla15
x86
Mac OS X
Points:
---
Bug Flags:
in-testsuite -

Firefox Tracking Flags

(Not tracked)

Details

Attachments

(1 attachment)

With the new DOM bindings and overload resolution, we actually know coming in what sort of element we have, so there's no need to redetect it.
Created attachment 628601 [details] [diff] [review]
Break out the three branches of SurfaceFromElement into separate functions so that we can call the one that matches the kind of element we have directly.
Attachment #628601 - Flags: review?(roc)
Attachment #628601 - Flags: review?(roc) → review+
Depends on: 748266
https://hg.mozilla.org/integration/mozilla-inbound/rev/6a46906eb017
Flags: in-testsuite-
Whiteboard: [need review]
Target Milestone: --- → mozilla15
Backed out because I had to back out bug 748266.
Whiteboard: [need bug 748266 relanded]
Target Milestone: mozilla15 → ---
And relanded: https://hg.mozilla.org/integration/mozilla-inbound/rev/aeca3790f053
Whiteboard: [need bug 748266 relanded]
Target Milestone: --- → mozilla15
https://hg.mozilla.org/mozilla-central/rev/aeca3790f053
Status: NEW → RESOLVED
Last Resolved: 5 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.