Closed Bug 904555 Opened 11 years ago Closed 11 years ago

clean up use of nsRect APIs in layout

Categories

(Core :: Layout, defect)

x86
macOS
defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla26

People

(Reporter: jfkthame, Assigned: jfkthame)

Details

Attachments

(1 file)

There are a number of places in layout/* where we use a verbose form such as

    size = nsSize(aRect.width, aRect.height);

to get the size of a rect, when we could instead use the more concise version

    size = aRect.Size();

E.g. http://mxr.mozilla.org/mozilla-central/source/layout/xul/base/src/nsImageBoxFrame.cpp#499
Attachment #789527 - Flags: review?(roc)
Assignee: nobody → jfkthame
https://hg.mozilla.org/mozilla-central/rev/61e74c03597b
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: