Closed Bug 1754277 Opened 2 years ago Closed 2 years ago

Fix non-unified-build bustage in layout/svg and mark directory as safe-to-build in non-unified mode

Categories

(Core :: SVG, task)

task

Tracking

()

RESOLVED FIXED
99 Branch
Tracking Status
firefox99 --- fixed

People

(Reporter: dholbert, Assigned: dholbert)

Details

Attachments

(1 file)

I'm filing this bug on removing REQUIRES_UNIFIED_BUILD from layout/svg/moz.build and fixing all subsequent bustage when building with

ac_add_options --disable-unified-build

Below are the build errors fixed here.

  • layout/svg/SVGFEUnstyledLeafFrame.cpp:75:33: error: no type named 'SVGFEUnstyledElement' in namespace 'mozilla::dom'

Fixed this by including SVGFilters.h (which defines this type).

  • layout/svg/SVGFEContainerFrame.cpp:83:12: error: unknown type name 'SVGFE'; did you mean 'dom::SVGFE'?
  • layout/svg/SVGFELeafFrame.cpp:80:12: error: unknown type name 'SVGFE'; did you mean 'dom::SVGFE'?

Fixed these with a 'using' statement for the namespace.

  • layout/svg/SVGGFrame.cpp:34:32: error: unknown type name 'SVGElement'

Fixed by including this type's header.

  • layout/svg/FilterInstance.cpp:873:9: error: use of undeclared identifier 'nsLayoutUtils'
  • layout/svg/SVGOuterSVGFrame.cpp:623:29: error: incomplete type 'nsLayoutUtils' named in nested name specifier

Fixed these by including this header.

Pushed by dholbert@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/a368d080f3c9
Fix non-unified build errors in layout/svg, and mark it as safe to build in non-unified mode. r=emilio
Status: ASSIGNED → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
Target Milestone: --- → 99 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: