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

RESOLVED FIXED in mozilla32

Status

()

Core
Widget: Cocoa
RESOLVED FIXED
4 years ago
4 years ago

People

(Reporter: mats, Unassigned)

Tracking

unspecified
mozilla32
x86
Mac OS X
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

(Reporter)

Description

4 years ago
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());

Comment 1

4 years ago
Looks like that was added in http://hg.mozilla.org/mozilla-central/rev/2dd00ac41fbe (bug 944938)

Updated

4 years ago
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?
(Reporter)

Comment 3

4 years ago
(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
Last Resolved: 4 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla32
You need to log in before you can comment on or make changes to this bug.