aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/dom/performancetiming.rs
diff options
context:
space:
mode:
authorAnthony Ramine <n.oxyde@gmail.com>2015-08-27 22:15:54 +0200
committerAnthony Ramine <n.oxyde@gmail.com>2015-08-27 22:27:43 +0200
commit709d347872e37ab2358e057d24557b9977238ecd (patch)
tree89f726bf207325eea8a8ca316f6d77d8c88432cb /components/script/dom/performancetiming.rs
parent856fda7f2e3fe4abd6de247e8bdaf8cedf3764c2 (diff)
downloadservo-709d347872e37ab2358e057d24557b9977238ecd.tar.gz
servo-709d347872e37ab2358e057d24557b9977238ecd.zip
Make the traits for the IDL interfaces take &self
Diffstat (limited to 'components/script/dom/performancetiming.rs')
-rw-r--r--components/script/dom/performancetiming.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/components/script/dom/performancetiming.rs b/components/script/dom/performancetiming.rs
index 4d453dcb4bb..9992f87f3c8 100644
--- a/components/script/dom/performancetiming.rs
+++ b/components/script/dom/performancetiming.rs
@@ -38,10 +38,10 @@ impl PerformanceTiming {
}
}
-impl<'a> PerformanceTimingMethods for &'a PerformanceTiming {
+impl PerformanceTimingMethods for PerformanceTiming {
// https://dvcs.w3.org/hg/webperf/raw-file/tip/specs/
// NavigationTiming/Overview.html#dom-performancetiming-navigationstart
- fn NavigationStart(self) -> u64 {
+ fn NavigationStart(&self) -> u64 {
self.navigationStart
}
}