Skip to content

Commit

Permalink
Auto merge of #12375 - gpoesia:master, r=KiChjang
Browse files Browse the repository at this point in the history
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 -->
  • Loading branch information
bors-servo committed Jul 10, 2016
2 parents 01ec849 + 502497f commit c6827a9
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions components/script/dom/htmlimageelement.rs
Expand Up @@ -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();
Expand Down

0 comments on commit c6827a9

Please sign in to comment.