Skip to content
Permalink
Browse files

Introduce nsStaticAtom.

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 5866b820e0d7d7f496a27726cb77de9302655abf

0 comments on commit 5866b82

Please sign in to comment.
You can’t perform that action at this time.