servo/components/script
bors-servo 552af0043a
Auto merge of #21785 - sumit0190:new_markasdirty, r=jdm
Add framebuffer check for mark_as_dirty, #21691

<!-- Please describe your changes on the following line: -->
Check `bound_framebuffer` in each `mark_as_dirty` call, so that we don't dirty the canvas if we don't have a bound framebuffer.

---
<!-- 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 #21691  (github issue number if applicable).

<!-- Either: -->
- [ ] There are tests for these changes OR
- [X] These changes do not require tests because there isn't a direct way to test it (yet).

<!-- 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/21785)
<!-- Reviewable:end -->
2018-10-08 21:45:55 -04:00
..
docs Rename Root<T> to DomRoot<T> 2017-09-26 09:49:10 +02:00
dom Auto merge of #21785 - sumit0190:new_markasdirty, r=jdm 2018-10-08 21:45:55 -04:00
task_source Format script component 2018-09-19 17:40:47 -04:00
body.rs Format script component 2018-09-19 17:40:47 -04:00
build.rs Format script component 2018-09-19 17:40:47 -04:00
Cargo.toml Make mach test-unit not recompile components after mach build 2018-10-07 13:27:23 +02:00
clipboard_provider.rs make use of ScriptToConstellationChan 2017-08-15 08:22:09 +02:00
CMakeLists.txt build(cmake): detect python binary for specified version 2018-03-13 09:25:06 -07:00
devtools.rs Format script component 2018-09-19 17:40:47 -04:00
document_loader.rs Format script component 2018-09-19 17:40:47 -04:00
fetch.rs Format script component 2018-09-19 17:40:47 -04:00
layout_image.rs Format script component 2018-09-19 17:40:47 -04:00
lib.rs script: Optionally store backtraces when throwing DOM exceptions. 2018-10-01 16:04:56 +02:00
mem.rs Format script component 2018-09-19 17:40:47 -04:00
microtask.rs Format script component 2018-09-19 17:40:47 -04:00
network_listener.rs Introduce TaskOnce 2017-09-20 10:37:09 +02:00
script_runtime.rs Format script component 2018-09-19 17:40:47 -04:00
script_thread.rs Format script component 2018-09-19 17:40:47 -04:00
serviceworker_manager.rs Format script component 2018-09-19 17:40:47 -04:00
serviceworkerjob.rs Format script component 2018-09-19 17:40:47 -04:00
stylesheet_loader.rs Format script component 2018-09-19 17:40:47 -04:00
task.rs Format script component 2018-09-19 17:40:47 -04:00
task_queue.rs Format script component 2018-09-19 17:40:47 -04:00
test.rs Remove unused code for parsing a sizes attribute. 2018-07-01 10:53:42 +02:00
textinput.rs Format script component 2018-09-19 17:40:47 -04:00
timers.rs Format script component 2018-09-19 17:40:47 -04:00
unpremultiplytable.rs Format script component 2018-09-19 17:40:47 -04:00
webdriver_handlers.rs Format script component 2018-09-19 17:40:47 -04:00