Closed Bug 538525 Opened 15 years ago Closed 15 years ago

Simplify nsBlockFrame::PullFrame/PullFrameFrom

Categories

(Core :: Layout: Block and Inline, defect)

defect
Not set
trivial

Tracking

()

RESOLVED FIXED
mozilla1.9.3a1

People

(Reporter: MatsPalmgren_bugz, Assigned: MatsPalmgren_bugz)

Details

Attachments

(2 files)

PullFrame always returns NS_OK. It "retries" the call when PullFrameFrom returns PR_TRUE, but PullFrameFrom always returns PR_FALSE so this is unnecessary code complexity.
Attached patch Patch rev. 1Splinter Review
Dropped the aFrameResult param, now it's the return value. Removed the "retry" code since that never happens. Moved the doc comments to the header file.
Attachment #420679 - Flags: review?(bzbarsky)
Comment on attachment 420679 [details] [diff] [review] Patch rev. 1 (wdiff) roc, can you grab this? I can sort it out if I need to, but this is more your area of expertise.
Attachment #420679 - Flags: review?(bzbarsky) → review?(roc)
Comment on attachment 420679 [details] [diff] [review] Patch rev. 1 (wdiff) - else { + Don't add this blank line.
Attachment #420679 - Flags: review?(roc) → review+
Status: NEW → RESOLVED
Closed: 15 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla1.9.3a1
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: