diff options
author | bors-servo <lbergstrom+bors@mozilla.com> | 2017-10-27 04:34:17 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-10-27 04:34:17 -0500 |
commit | 8f171058f8d4ee1009134ea574ba771a3be5d6f1 (patch) | |
tree | 464df0690b91478cb0166f8a3def1ac9d247d2c9 /components/script/dom/windowproxy.rs | |
parent | ecff7945d9d3d8e21748cb34082f38da4705be6f (diff) | |
parent | 5866b820e0d7d7f496a27726cb77de9302655abf (diff) | |
download | servo-8f171058f8d4ee1009134ea574ba771a3be5d6f1.tar.gz servo-8f171058f8d4ee1009134ea574ba771a3be5d6f1.zip |
Auto merge of #19035 - nnethercote:bug-1411893, r=emilio
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>.)
<!-- Please describe your changes on the following line: -->
---
<!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `__` with appropriate data: -->
- [X] `./mach build -d` does not report any errors
- [X] `./mach test-tidy` does not report any errors
- [ ] These changes fix https://bugzilla.mozilla.org/show_bug.cgi?id=1411893
<!-- Either: -->
- [ ] There are tests for these changes OR
- [X] These changes do not require tests because tested on the Gecko side.
<!-- Also, please make sure that "Allow edits from maintainers" checkbox is checked, so that we can help you if you get stuck somewhere along the way.-->
<!-- Pull requests that do not address these steps are welcome, but they will require additional verification as part of the review process. -->
<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/19035)
<!-- Reviewable:end -->
Diffstat (limited to 'components/script/dom/windowproxy.rs')
0 files changed, 0 insertions, 0 deletions