Closed Bug 1282592 Opened 8 years ago Closed 8 years ago

Build failure in dom/base/nsDOMWindowUtils.cpp with MP4 support compiled out

Categories

(Core :: Audio/Video: Playback, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla50
Tracking Status
firefox50 --- fixed

People

(Reporter: kinetik, Assigned: kinetik)

References

Details

Attachments

(1 file)

As reported by Tim on IRC:

dom/base/nsDOMWindowUtils.cpp:2301:11: error: ‘class RefPtr<mozilla::dom::Promise>’ has no member named ‘MaybeResolve’ promise.MaybeResolve(NS_LITERAL_STRING("No; Compiled without MP4 support."));

Looks as simple as changing promise.MaybeResolve to promise->MaybeResolve, but I don't have a non-MP4 build handy to verify right now.
Trivial fix, tested locally.
Assignee: nobody → kinetik
Status: NEW → ASSIGNED
Attachment #8765711 - Flags: review?(cpearce)
Attachment #8765711 - Flags: review?(cpearce) → review+
Pushed by mgregan@mozilla.com:
https://hg.mozilla.org/integration/mozilla-inbound/rev/e30eb329b132
Fix compile error in nsDOMWindowUtils::GetSupportsHardwareH264Decoding when building without MP4 support.  r=cpearce
Blocks: 1212323
https://hg.mozilla.org/mozilla-central/rev/e30eb329b132
Status: ASSIGNED → RESOLVED
Closed: 8 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla50
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: