diff options
author | bors-servo <lbergstrom+bors@mozilla.com> | 2018-12-22 05:06:22 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-12-22 05:06:22 -0500 |
commit | 45e238938fa9fe8cd9ea9ae04f1b3fa78a7e384a (patch) | |
tree | 08eb7f93ad0c5ae596955e8d362e304c057358bf /components/script/dom/servoparser/xml.rs | |
parent | 12d0a0b9959f7f483397eb443ccc7a222d63ba95 (diff) | |
parent | 1bd4f9572d3ec16202c11ebb58d71c97a8787921 (diff) | |
download | servo-45e238938fa9fe8cd9ea9ae04f1b3fa78a7e384a.tar.gz servo-45e238938fa9fe8cd9ea9ae04f1b3fa78a7e384a.zip |
Auto merge of #22451 - kingdido999:send-idle-message-once, r=jdm
Avoid sending idle message more than once after a reflow is complete
<!-- Please describe your changes on the following line: -->
A boolean variable is introduced to prevent sending SetDocumentState idle message multiple times after a reflow is complete.
---
<!-- 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 #22410 (GitHub issue number if applicable)
<!-- Either: -->
- [x] These changes do not require tests because automated test is not possible.
<!-- 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/22451)
<!-- Reviewable:end -->
Diffstat (limited to 'components/script/dom/servoparser/xml.rs')
0 files changed, 0 insertions, 0 deletions