Closed
Bug 1368251
Opened 7 years ago
Closed 7 years ago
Check frame's NS_FRAME_HAS_INVALID_RECT bit before looking up the InvalidationRect() property
Categories
(Core :: Layout, enhancement)
Core
Layout
Tracking
()
RESOLVED
FIXED
mozilla55
Tracking | Status | |
---|---|---|
firefox55 | --- | fixed |
People
(Reporter: jfkthame, Assigned: jfkthame)
Details
Attachments
(1 file)
991 bytes,
patch
|
MatsPalmgren_bugz
:
review+
|
Details | Diff | Splinter Review |
From bug 1365982 comment 14: ---------------------------- > nsIFrame::InvalidateFrameSubtree(uint32_t aDisplayItemKey) >- nsRect* rect = Properties().Get(InvalidationRect()); >+ nsRect* rect = GetProperty(InvalidationRect()); Hmm, shouldn't we check HasAnyStateBits(NS_FRAME_HAS_INVALID_RECT) before doing this Get? (and assert a non-null result in that case) ----------------------------
Assignee | ||
Comment 1•7 years ago
|
||
Attachment #8872085 -
Flags: review?(mats)
Assignee | ||
Updated•7 years ago
|
Assignee: nobody → jfkthame
Status: NEW → ASSIGNED
Updated•7 years ago
|
Attachment #8872085 -
Flags: review?(mats) → review+
Assignee | ||
Comment 2•7 years ago
|
||
https://hg.mozilla.org/integration/mozilla-inbound/rev/6414aec048aea01d726832dec33e83f3d8503f0c Bug 1368251 - Check frame state bit before looking up InvalidationRect() property. r=mats
Comment 3•7 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/6414aec048ae
Status: ASSIGNED → RESOLVED
Closed: 7 years ago
status-firefox55:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla55
You need to log in
before you can comment on or make changes to this bug.
Description
•