Closed
Bug 840902
Opened 13 years ago
Closed 13 years ago
Make display list construction infallible
Categories
(Core :: Layout, defect)
Tracking
()
RESOLVED
FIXED
mozilla21
People
(Reporter: roc, Assigned: roc)
Details
Attachments
(2 files)
|
134.79 KB,
patch
|
mattwoodrow
:
review+
|
Details | Diff | Splinter Review |
|
263.37 KB,
patch
|
mattwoodrow
:
review+
|
Details | Diff | Splinter Review |
Currently various display list construction methods return nsresults so they can bail out on OOM. This is unnecessary. It would probably be fine to make OOM fatal for display list construction, but even if we don't do that we can just continue without inserting items that failed to allocate.
| Assignee | ||
Comment 1•13 years ago
|
||
Attachment #713381 -
Flags: review?(matt.woodrow)
| Assignee | ||
Comment 2•13 years ago
|
||
Attachment #713383 -
Flags: review?(matt.woodrow)
| Assignee | ||
Comment 3•13 years ago
|
||
Updated•13 years ago
|
Attachment #713381 -
Flags: review?(matt.woodrow) → review+
Updated•13 years ago
|
Attachment #713383 -
Flags: review?(matt.woodrow) → review+
| Assignee | ||
Comment 4•13 years ago
|
||
Fixed a missing "return" in BuildDisplayListForChild.
https://tbpl.mozilla.org/?tree=Try&rev=4f02c58567eb
| Assignee | ||
Comment 5•13 years ago
|
||
Comment 6•13 years ago
|
||
Backed out for compilation failures:
https://tbpl.mozilla.org/?tree=Mozilla-Inbound&rev=1bd3acba4c01
remote: https://hg.mozilla.org/integration/mozilla-inbound/rev/ffa45a2a3e49
remote: https://hg.mozilla.org/integration/mozilla-inbound/rev/86c8e1b819f1
| Assignee | ||
Comment 7•13 years ago
|
||
Comment 8•13 years ago
|
||
Failed to build on all platforms (again); backed out:
https://hg.mozilla.org/integration/mozilla-inbound/pushloghtml?changeset=17fa03776b5c
Please use Try before this lands again.
| Assignee | ||
Comment 9•13 years ago
|
||
Sorry, I'm not really sure what happened. I built it locally and somehow between then and checking in I deleted a line of code :-(.
Here's a Try push anyway: https://tbpl.mozilla.org/?tree=Try&rev=fb74ef663f1c
| Assignee | ||
Comment 10•13 years ago
|
||
Which is green.
| Assignee | ||
Comment 11•13 years ago
|
||
Comment 12•13 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/494483cbe311
https://hg.mozilla.org/mozilla-central/rev/37cb11f41bb2
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla21
You need to log in
before you can comment on or make changes to this bug.
Description
•