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)

defect
Not set
normal

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: cku → tlin
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)
https://reviewboard.mozilla.org/r/49023/#review45827 No problem. nsLayoutUtils::PaintFrameFlags is a better name.
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 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+
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla49
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: