Skip to content

Commit

Permalink
Introduce nsStaticAtom.
Browse files Browse the repository at this point in the history
It's a sub-class of nsAtom, useful for cases where you know you are dealing
exclusively with static atoms. The nice thing about it is that you can use
raw nsStaticAtom pointers instead of RefPtr<>. (In fact, the AddRef/Release
implementations ensure that we'll crash if we use RefPtr<nsStaticAtom>.)
  • Loading branch information
nnethercote committed Oct 27, 2017
1 parent de7595f commit 5866b82
Show file tree
Hide file tree
Showing 5 changed files with 12,525 additions and 12,503 deletions.

0 comments on commit 5866b82

Please sign in to comment.