Closed Bug 1022206 Opened 10 years ago Closed 10 years ago

widget/cocoa/nsChildView.mm:405:44: error: use of undeclared identifier 'nsLayoutUtils'

Categories

(Core :: Widget: Cocoa, defect)

x86
macOS
defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla32

People

(Reporter: MatsPalmgren_bugz, Unassigned)

References

Details

My local DEBUG m-c fails to build.  I suspect the problem might be hidden
on tbpl because of unified builds chunking or something...
(fwiw, adding an #include nsLayoutUtils.h fixed it)

widget/cocoa/nsChildView.mm:405:44: error: use of undeclared identifier 'nsLayoutUtils'
      nsCOMPtr<nsIContent> targetContent = nsLayoutUtils::FindContentFor(mFrameMetrics.GetScrollId());
Blocks: 944938
In my build, nsChildView.mm includes nsLayoutUtils.h through this include chain:
nsChildView.mm -> nsAccessibilityService.h -> SelectionManager.h -> nsIFrame.h -> nsLayoutUtils.h

Are you building with --disable-accessibility?
(In reply to Markus Stange [:mstange] from comment #2)
> Are you building with --disable-accessibility?

Correct.  (sorry for failing to mention it's a non-default mozconfig)
https://hg.mozilla.org/mozilla-central/rev/367d4c592c50
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla32
You need to log in before you can comment on or make changes to this bug.