CompositableHost.cpp forward-declares Matrix4x4 in wrong namespace

RESOLVED FIXED in mozilla31

Status

()

defect
RESOLVED FIXED
5 years ago
5 years ago

People

(Reporter: kats, Assigned: kats)

Tracking

unspecified
mozilla31
x86
macOS
Points:
---
Dependency tree / graph

Firefox Tracking Flags

(Not tracked)

Details

Attachments

(1 attachment)

While trying to implement bug 995411 I made some local changes and my build on mac desktop broke (also same error showed up all over my try push). The problem seems to be that CompositableHost.cpp has a forward-declare of Matrix4x4 in mozilla::layers when it actually exists in mozilla::gfx. This forward declare isn't used in the file itself, but because of unified builds it causes a conflict elsewhere in the code.
Comment on attachment 8407002 [details] [diff] [review]
Patch

Try build including this change pending at https://tbpl.mozilla.org/?tree=Try&rev=98ebef777331 (can't see it in the pushlog because I pushed it a different try push just before).
Attachment #8407002 - Flags: review?(ncameron)
Summary: CompositableHost.cpp doesn't play nicely with unified builds → CompositableHost.cpp forward-declares Matrix4x4 in wrong namespace
Attachment #8407002 - Flags: review?(ncameron) → review+
https://hg.mozilla.org/mozilla-central/rev/8e6a039374b1
Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla31
You need to log in before you can comment on or make changes to this bug.