diff options
author | Gabriel Poesia <gabriel.poesia@gmail.com> | 2016-07-10 15:18:56 -0300 |
---|---|---|
committer | Gabriel Poesia <gabriel.poesia@gmail.com> | 2016-07-10 15:20:41 -0300 |
commit | 502497fb1f213126c1835b467dadedaba1619bfc (patch) | |
tree | 89102c6ee05a790cf5d0840f91b5e4d722d9d55f /components/script/dom | |
parent | 287969f7bb3df62321ba4b7d977571d452d1afd6 (diff) | |
download | servo-502497fb1f213126c1835b467dadedaba1619bfc.tar.gz servo-502497fb1f213126c1835b467dadedaba1619bfc.zip |
Implement Runnable::name() for ImageResponseHandlerRunnable
Diffstat (limited to 'components/script/dom')
-rw-r--r-- | components/script/dom/htmlimageelement.rs | 2 |
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(); |