Closed Bug 1480212 Opened 7 years ago Closed 7 years ago

Preemptively fix unified bustage in layout/generic

Categories

(Core :: Layout, defect, P3)

defect

Tracking

()

RESOLVED FIXED
mozilla63
Tracking Status
firefox63 --- fixed

People

(Reporter: dholbert, Assigned: dholbert)

Details

Attachments

(1 file)

(see earlier versions of this bug -- e.g. bug 1300206, bug 1344954) The directory layout/generic doesn't quite build right now if I disable unification (by doing s/UNIFIED_SOURCES/SOURCES/ in its moz.build file) I get several copies of this build error for calls to NS_NewXULElement in nsCanvasFrame.cpp: > layout/generic/nsCanvasFrame.cpp:142:10: error: use of > undeclared identifier 'NS_NewXULElement'; did you mean 'NS_NewXMLDocument'? > rv = NS_NewXULElement(getter_AddRefs(mPopupgroupContent), ^~~~~~~~~~~~~~~~ This is easy to fix - just need to add an include for nsContentCreatorFunctions.h, to provide the declaration of this function: https://dxr.mozilla.org/mozilla-central/rev/085cdfb90903d4985f0de1dc7786522d9fb45596/dom/base/nsContentCreatorFunctions.h#63
Comment on attachment 8996843 [details] Bug 1480212: Give nsCanvasFrame.cpp an #include to provide NS_NewXULElement decl, to fix non-unified builds in layout/generic. r?emilio Ting-Yu Lin [:TYLin] (UTC-7) has approved the revision. https://phabricator.services.mozilla.com/D2627
Attachment #8996843 - Flags: review+
Priority: -- → P3
Pushed by dholbert@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/c66ba2794d94 Give nsCanvasFrame.cpp an #include to provide NS_NewXULElement decl, to fix non-unified builds in layout/generic. r=TYLin
Status: ASSIGNED → RESOLVED
Closed: 7 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla63
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: