Closed Bug 1497734 Opened 7 years ago Closed 7 years ago

Rename nsStaticAtom subclasses

Categories

(Core :: CSS Parsing and Computation, enhancement)

enhancement
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla64
Tracking Status
firefox64 --- fixed

People

(Reporter: n.nethercote, Assigned: n.nethercote)

References

Details

Attachments

(1 file)

The current names are a bit daft.
Specifically: - nsICSSAnonBoxPseudo --> nsCSSAnonBoxPseudoStaticAtom - nsICSSPseudoElement --> nsCSSPseudoElementStaticAtom The `nsI` prefix isn't necessary because these are no longer XPIDL types, and the `StaticAtom` suffix makes their meaning clearer.
Attachment #9015748 - Flags: review?(cam)
Blocks: 1257126
Comment on attachment 9015748 [details] [diff] [review] Rename nsStaticAtom subclasses Review of attachment 9015748 [details] [diff] [review]: ----------------------------------------------------------------- ::: layout/style/nsCSSPseudoElements.h @@ +102,5 @@ > #ifdef DEBUG > static void AssertAtoms(); > #endif > > // Alias nsCSSPseudoElements::foo() to alias nsGkAtoms::foo. Oops, I wrote "alias" twice. Mind fixing this while you're here?
Attachment #9015748 - Flags: review?(cam) → review+
> Oops, I wrote "alias" twice. Mind fixing this while you're here? Sure. And I'll fix the same problem on the equivalent nsCSSAnonBoxes code.
Status: ASSIGNED → RESOLVED
Closed: 7 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla64
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: