diff --git a/mozilla/string/obsolete/nsXPIDLString.h b/mozilla/string/obsolete/nsXPIDLString.h index 3cd75524e17..0565a1155a8 100644 --- a/mozilla/string/obsolete/nsXPIDLString.h +++ b/mozilla/string/obsolete/nsXPIDLString.h @@ -252,10 +252,10 @@ public: virtual ~nsXPIDLCString(); - /** - * Assign a single-byte string to this wrapper. Copies and owns the result. - */ - nsXPIDLCString& operator =(const char* aString); + /** + * Assign a single-byte string to this wrapper. Copies and owns the result. + */ + nsXPIDLCString& operator =(const char* aString); /** * Return a reference to the immutable single-byte string. diff --git a/mozilla/xpcom/ds/nsXPIDLString.h b/mozilla/xpcom/ds/nsXPIDLString.h index 3cd75524e17..0565a1155a8 100644 --- a/mozilla/xpcom/ds/nsXPIDLString.h +++ b/mozilla/xpcom/ds/nsXPIDLString.h @@ -252,10 +252,10 @@ public: virtual ~nsXPIDLCString(); - /** - * Assign a single-byte string to this wrapper. Copies and owns the result. - */ - nsXPIDLCString& operator =(const char* aString); + /** + * Assign a single-byte string to this wrapper. Copies and owns the result. + */ + nsXPIDLCString& operator =(const char* aString); /** * Return a reference to the immutable single-byte string. diff --git a/mozilla/xpcom/sample/nsSample.js b/mozilla/xpcom/sample/nsSample.js index 50d21539e3f..096fdde5ad9 100644 --- a/mozilla/xpcom/sample/nsSample.js +++ b/mozilla/xpcom/sample/nsSample.js @@ -23,7 +23,7 @@ mySample.prototype = { * properties on the JS object, follow the expected rules for prototype * delegation, and make a mean cup of coffee. */ - get value() { return this.val; }, + get value() { return this.val; }, set value(newval) { return this.val = newval; }, writeValue: function (aPrefix) { diff --git a/mozilla/xpcom/string/obsolete/nsXPIDLString.h b/mozilla/xpcom/string/obsolete/nsXPIDLString.h index 3cd75524e17..0565a1155a8 100644 --- a/mozilla/xpcom/string/obsolete/nsXPIDLString.h +++ b/mozilla/xpcom/string/obsolete/nsXPIDLString.h @@ -252,10 +252,10 @@ public: virtual ~nsXPIDLCString(); - /** - * Assign a single-byte string to this wrapper. Copies and owns the result. - */ - nsXPIDLCString& operator =(const char* aString); + /** + * Assign a single-byte string to this wrapper. Copies and owns the result. + */ + nsXPIDLCString& operator =(const char* aString); /** * Return a reference to the immutable single-byte string.