diff options
author | bors-servo <lbergstrom+bors@mozilla.com> | 2016-06-04 16:03:59 -0500 |
---|---|---|
committer | bors-servo <lbergstrom+bors@mozilla.com> | 2016-06-04 16:03:59 -0500 |
commit | 5002dff85352a09ff79f0183e437876f36b77515 (patch) | |
tree | ade0a7dc710e34f5b27cc4072167cfbc75a50108 /components/script/dom/document.rs | |
parent | a5115c13fd99588a9b9c40fe37c01f9a7775d1ce (diff) | |
parent | 43396c027dcbc357f0fef674e55f9413f56f7535 (diff) | |
download | servo-5002dff85352a09ff79f0183e437876f36b77515.tar.gz servo-5002dff85352a09ff79f0183e437876f36b77515.zip |
Auto merge of #11442 - mitchhentges:87-debug-id, r=KiChjang
Fragment debug_id u16 only exists in debug, prod will format mem address
<!-- Please describe your changes on the following line: -->
Each fragment has a `u16` `debug_id` in debug mode, but no `debug_id` in production to save memory. To format a debug id in production, the address of the empty `debug_id` is displayed.
---
<!-- 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
- [X] These changes fix #87 (github issue number if applicable).
<!-- Either: -->
- [X] These changes do not require tests because it looks like it's not possible to mock out `cfg` options in `#[test]`s
<!-- 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="35" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/11442)
<!-- Reviewable:end -->
Diffstat (limited to 'components/script/dom/document.rs')
0 files changed, 0 insertions, 0 deletions