Closed
Bug 913603
Opened 11 years ago
Closed 11 years ago
nsRect.h is a hub header
Categories
(Core :: Graphics, defect)
Core
Graphics
Tracking
()
RESOLVED
FIXED
mozilla26
People
(Reporter: bjacob, Assigned: bjacob)
References
(Blocks 1 open bug)
Details
(Whiteboard: [qa-])
Attachments
(3 files)
(deleted),
patch
|
jrmuizel
:
review+
|
Details | Diff | Splinter Review |
(deleted),
patch
|
jrmuizel
:
review+
|
Details | Diff | Splinter Review |
(deleted),
patch
|
MatsPalmgren_bugz
:
review+
lsblakk
:
approval-mozilla-aurora+
|
Details | Diff | Splinter Review |
A hub header is one that is included by many other headers, and itself includes many other headers. See tracking bug 912735.
Assignee | ||
Comment 1•11 years ago
|
||
Attachment #800892 -
Flags: review?(jmuizelaar)
Assignee | ||
Comment 2•11 years ago
|
||
Attachment #800893 -
Flags: review?(jmuizelaar)
Updated•11 years ago
|
Attachment #800892 -
Flags: review?(jmuizelaar) → review+
Assignee | ||
Comment 3•11 years ago
|
||
Assignee | ||
Comment 4•11 years ago
|
||
Er, this instead: https://tbpl.mozilla.org/?tree=Try&rev=7d07cbba51a7
Updated•11 years ago
|
Attachment #800893 -
Flags: review?(jmuizelaar) → review+
Assignee | ||
Comment 5•11 years ago
|
||
Assignee | ||
Comment 6•11 years ago
|
||
Windows-only: https://tbpl.mozilla.org/?tree=Try&rev=8874400b7477
Assignee | ||
Comment 7•11 years ago
|
||
http://hg.mozilla.org/integration/mozilla-inbound/rev/d39afeecef66
http://hg.mozilla.org/integration/mozilla-inbound/rev/eb9ce350a4ad
Assignee: nobody → bjacob
Target Milestone: --- → mozilla26
Comment 8•11 years ago
|
||
Looks like SaturatingInflate isn't used anymore, so it should probably be removed:
http://mxr.mozilla.org/mozilla-central/search?string=SaturatingInflate
SaturatingUnionEdges is used heavily on performance critical paths in layout though,
and I thought we intentionally made it inline for that reason.
Comment 9•11 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/d39afeecef66
https://hg.mozilla.org/mozilla-central/rev/eb9ce350a4ad
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Assignee | ||
Comment 10•11 years ago
|
||
(In reply to Mats Palmgren (:mats) from comment #8)
> Looks like SaturatingInflate isn't used anymore, so it should probably be
> removed:
> http://mxr.mozilla.org/mozilla-central/search?string=SaturatingInflate
Good point!
>
> SaturatingUnionEdges is used heavily on performance critical paths in layout
> though,
> and I thought we intentionally made it inline for that reason.
According to DXR, it's not used anymore either:
http://dxr.mozilla.org/mozilla-central/search?q=SaturatingUnionEdges&redirect=false
Assignee | ||
Comment 11•11 years ago
|
||
Ah, no, I see, this is used by UnionEdges, which is indeed used outside of this file: http://dxr.mozilla.org/mozilla-central/search?tree=mozilla-central&q=UnionEdges&redirect=true
Assignee | ||
Comment 12•11 years ago
|
||
Attachment #805129 -
Flags: review?(matspal)
Assignee | ||
Comment 13•11 years ago
|
||
Comment 14•11 years ago
|
||
Comment on attachment 805129 [details] [diff] [review]
Address Mats' comments
> +#include <algorithm> // for algorithm
s/for algorithm/for min, max/
and we should move back this include from .cpp to .h:
#include "nsDebug.h" // for NS_WARNING
and remove #include <algorithm> in .cpp
Attachment #805129 -
Flags: review?(matspal) → review+
Assignee | ||
Comment 15•11 years ago
|
||
Thanks, integrated your comments, new try push https://tbpl.mozilla.org/?tree=Try&rev=242e7bf50719
Assignee | ||
Comment 16•11 years ago
|
||
Assignee | ||
Comment 17•11 years ago
|
||
Comment on attachment 805129 [details] [diff] [review]
Address Mats' comments
[Approval Request Comment]
Bug caused by (feature/regressing bug #): 913603
User impact if declined: possible performance regression
Testing completed (on m-c, etc.): m-i
Risk to taking this patch (and alternatives if risky): none (reverting a recent change)
String or IDL/UUID changes made by this patch: none
Attachment #805129 -
Flags: approval-mozilla-aurora?
Comment 18•11 years ago
|
||
Updated•11 years ago
|
Attachment #805129 -
Flags: approval-mozilla-aurora? → approval-mozilla-aurora+
Assignee | ||
Updated•11 years ago
|
Blocks: includehell
Assignee | ||
Comment 19•11 years ago
|
||
Updated•11 years ago
|
Updated•11 years ago
|
Target Milestone: mozilla27 → mozilla26
Updated•11 years ago
|
Whiteboard: [qa-]
You need to log in
before you can comment on or make changes to this bug.
Description
•