Closed Bug 754138 Opened 13 years ago Closed 13 years ago

Rect.h generates lots of warnings when building content and layout

Categories

(Core :: Graphics, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla15

People

(Reporter: dzbarsky, Assigned: dzbarsky)

Details

Attachments

(1 file, 1 obsolete file)

Attached patch Patch (obsolete) — Splinter Review
I haven't run this on tryserver yet because my account is disabled, but I will as soon as I can.
OS: Windows 7 → All
Hardware: x86 → All
Version: unspecified → Trunk
Attachment #622995 - Attachment is patch: true
Attachment #622995 - Flags: review?(roc)
Attached patch Patch r=rocSplinter Review
Assignee: nobody → dzbarsky
Attachment #622995 - Attachment is obsolete: true
Status: NEW → ASSIGNED
Attachment #623467 - Flags: checkin?
Keywords: checkin-needed
Comment on attachment 623467 [details] [diff] [review] Patch r=roc Review of attachment 623467 [details] [diff] [review]: ----------------------------------------------------------------- ::: gfx/2d/Rect.h @@ +88,5 @@ > { > *aOut = IntRect(int32_t(X()), int32_t(Y()), > int32_t(Width()), int32_t(Height())); > + return Rect(float(aOut->x), float(aOut->y), > + float(aOut->width), float(aOut->height)).IsEqualEdges(*this); I'd suggest using Float, the actual type of Rect().
Attachment #623467 - Flags: review+
Comment on attachment 623467 [details] [diff] [review] Patch r=roc You can just use checkin-needed for single-patch bugs like this.
Attachment #623467 - Flags: checkin?
Flags: in-testsuite-
Keywords: checkin-needed
Target Milestone: --- → mozilla15
Status: ASSIGNED → RESOLVED
Closed: 13 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: