Closed
Bug 1629451
Opened 5 years ago
Closed 5 years ago
WARNING: Attempting to get a displayport from a content with no primary frame!: file /z/moz/l/layout/base/nsLayoutUtils.cpp, line 791
Categories
(Core :: Layout, task)
Core
Layout
Tracking
()
RESOLVED
FIXED
mozilla77
| Tracking | Status | |
|---|---|---|
| firefox77 | --- | fixed |
People
(Reporter: heycam, Assigned: heycam)
Details
Attachments
(1 file)
I get this warning on startup with a debug build:
WARNING: Attempting to get a displayport from a content with no primary frame!: file /z/moz/l/layout/base/nsLayoutUtils.cpp, line 791
I think we can avoid it by skipping the second GetHighResolutionDisplayPort call too when there is no scroll frame.
| Assignee | ||
Comment 1•5 years ago
|
||
| Assignee | ||
Comment 2•5 years ago
|
||
Pushed by cmccormack@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/f7d31ba38b76
Return earlier from SetDisplayPortMargins to avoid a warning in the second GetHighResolutionDisplayPort call. r=tnikkel
Comment 4•5 years ago
|
||
| bugherder | ||
Status: ASSIGNED → RESOLVED
Closed: 5 years ago
status-firefox77:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla77
You need to log in
before you can comment on or make changes to this bug.
Description
•