servo: Merge #3433 - More progress in the &JSRef -> JSRef conversion (from zwarich:jsref-self-helpers)
Source-Repo: https://github.com/servo/servo Source-Revision: d6ba37c68c34a3748a789caeca225083275757e5
This commit is contained in:
@@ -32,23 +32,23 @@ impl Navigator {
|
||||
}
|
||||
|
||||
impl<'a> NavigatorMethods for JSRef<'a, Navigator> {
|
||||
fn Product(&self) -> DOMString {
|
||||
fn Product(self) -> DOMString {
|
||||
NavigatorInfo::Product()
|
||||
}
|
||||
|
||||
fn TaintEnabled(&self) -> bool {
|
||||
fn TaintEnabled(self) -> bool {
|
||||
NavigatorInfo::TaintEnabled()
|
||||
}
|
||||
|
||||
fn AppName(&self) -> DOMString {
|
||||
fn AppName(self) -> DOMString {
|
||||
NavigatorInfo::AppName()
|
||||
}
|
||||
|
||||
fn AppCodeName(&self) -> DOMString {
|
||||
fn AppCodeName(self) -> DOMString {
|
||||
NavigatorInfo::AppCodeName()
|
||||
}
|
||||
|
||||
fn Platform(&self) -> DOMString {
|
||||
fn Platform(self) -> DOMString {
|
||||
NavigatorInfo::Platform()
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user