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:
Cameron Zwarich
2014-09-20 12:55:21 -07:00
parent d7823bb187
commit 60b0bd5f8d
69 changed files with 1014 additions and 1017 deletions

View File

@@ -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()
}
}