mirror of
https://github.com/servo/servo.git
synced 2025-08-02 12:10:29 +01:00
Auto merge of #12375 - gpoesia:master, r=KiChjang
Implement Runnable::name() for ImageResponseHandlerRunnable <!-- Please describe your changes on the following line: --> Implement the name() method from the Runnable trait for ImageResponseHandlerRunnable. --- <!-- 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 #12345 (github issue number if applicable). <!-- Either: --> - [X] These changes do not require tests because it's stated in the issue (the change is trivial). <!-- 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/12375) <!-- Reviewable:end -->
This commit is contained in:
commit
c6827a9e66
1 changed files with 2 additions and 0 deletions
|
@ -81,6 +81,8 @@ impl ImageResponseHandlerRunnable {
|
|||
}
|
||||
|
||||
impl Runnable for ImageResponseHandlerRunnable {
|
||||
fn name(&self) -> &'static str { "ImageResponseHandlerRunnable" }
|
||||
|
||||
fn handler(self: Box<Self>) {
|
||||
// Update the image field
|
||||
let element = self.element.root();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue