mirror of
https://github.com/servo/servo.git
synced 2025-08-03 04:30:10 +01:00
Make the traits for the IDL interfaces take &self
This commit is contained in:
parent
856fda7f2e
commit
709d347872
99 changed files with 1192 additions and 1192 deletions
|
@ -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
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue