Closed
Bug 1267209
Opened 9 years ago
Closed 9 years ago
Converting the existing flags parameter of nsLayoutUtils::PaintFrame to an enum class
Categories
(Core :: Layout, defect)
Core
Layout
Tracking
()
RESOLVED
FIXED
mozilla49
| Tracking | Status | |
|---|---|---|
| firefox49 | --- | fixed |
People
(Reporter: u459114, Assigned: TYLin)
References
Details
Attachments
(1 file)
According to Bug 1265715 comment 20,
converted the existing flags parameter of nsLayoutUtils::PaintFrame to an enum class:
static nsresult PaintFrame(nsRenderingContext* aRenderingContext,
nsIFrame* aFrame,
const nsRegion& aDirtyRegion, nscolor aBackstop,
uint32_t aFlags = 0)
| Assignee | ||
Comment 1•9 years ago
|
||
Review commit: https://reviewboard.mozilla.org/r/49023/diff/#index_header
See other reviews: https://reviewboard.mozilla.org/r/49023/
Attachment #8745374 -
Flags: review?(jfkthame)
| Assignee | ||
Updated•9 years ago
|
Assignee: cku → tlin
Comment 2•9 years ago
|
||
Comment on attachment 8745374 [details]
MozReview Request: Bug 1267209 - Convert nsLayoutUtils::PaintFrame flags to be an enum class.
https://reviewboard.mozilla.org/r/49023/#review45827
Looks fine, thanks! Just one request: please name the enum class "nsLayoutUtils::PaintFrameFlags" (plural), following the pattern of other ...Flags types we have in layout. (It's a bit-set in which multiple flags can be independently set/cleared, not just a single flag.)
Attachment #8745374 -
Flags: review?(jfkthame)
| Assignee | ||
Comment 3•9 years ago
|
||
https://reviewboard.mozilla.org/r/49023/#review45827
No problem. nsLayoutUtils::PaintFrameFlags is a better name.
| Assignee | ||
Comment 4•9 years ago
|
||
Comment on attachment 8745374 [details]
MozReview Request: Bug 1267209 - Convert nsLayoutUtils::PaintFrame flags to be an enum class.
Review request updated; see interdiff: https://reviewboard.mozilla.org/r/49023/diff/1-2/
Attachment #8745374 -
Attachment description: MozReview Request: Bug 1267209 - Convert nsLayoutUtils::PaintFrame flag to be an enum class. → MozReview Request: Bug 1267209 - Convert nsLayoutUtils::PaintFrame flags to be an enum class.
Attachment #8745374 -
Flags: review?(jfkthame)
Comment 5•9 years ago
|
||
Comment on attachment 8745374 [details]
MozReview Request: Bug 1267209 - Convert nsLayoutUtils::PaintFrame flags to be an enum class.
https://reviewboard.mozilla.org/r/49023/#review45965
Attachment #8745374 -
Flags: review?(jfkthame) → review+
Comment 7•9 years ago
|
||
| bugherder | ||
Status: NEW → RESOLVED
Closed: 9 years ago
status-firefox49:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla49
You need to log in
before you can comment on or make changes to this bug.
Description
•