aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/dom/htmlimageelement.rs
diff options
context:
space:
mode:
authorGabriel Poesia <gabriel.poesia@gmail.com>2016-07-10 15:18:56 -0300
committerGabriel Poesia <gabriel.poesia@gmail.com>2016-07-10 15:20:41 -0300
commit502497fb1f213126c1835b467dadedaba1619bfc (patch)
tree89102c6ee05a790cf5d0840f91b5e4d722d9d55f /components/script/dom/htmlimageelement.rs
parent287969f7bb3df62321ba4b7d977571d452d1afd6 (diff)
downloadservo-502497fb1f213126c1835b467dadedaba1619bfc.tar.gz
servo-502497fb1f213126c1835b467dadedaba1619bfc.zip
Implement Runnable::name() for ImageResponseHandlerRunnable
Diffstat (limited to 'components/script/dom/htmlimageelement.rs')
-rw-r--r--components/script/dom/htmlimageelement.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/components/script/dom/htmlimageelement.rs b/components/script/dom/htmlimageelement.rs
index 27152ca93f4..8c28b1e8c8d 100644
--- a/components/script/dom/htmlimageelement.rs
+++ b/components/script/dom/htmlimageelement.rs
@@ -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();