зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1362338: Preliminary whitespace cleanup in nsIAtom.idl. r=froydnj
MozReview-Commit-ID: DN2tN0OMWEk
This commit is contained in:
Родитель
cccbc46d0c
Коммит
a7d696a18f
|
@ -17,16 +17,16 @@ native MallocSizeOf(mozilla::MallocSizeOf);
|
|||
* could be dangerous since double-wrapping could lead to loss of
|
||||
* pointer identity.
|
||||
*/
|
||||
|
||||
|
||||
[scriptable, builtinclass, uuid(8b8c11d4-3ed5-4079-8974-73c7576cdb34)]
|
||||
interface nsIAtom : nsISupports
|
||||
{
|
||||
/**
|
||||
* Get the Unicode or UTF8 value for the string
|
||||
*/
|
||||
[binaryname(ScriptableToString)] AString toString();
|
||||
[binaryname(ScriptableToString)] AString toString();
|
||||
[noscript] AUTF8String toUTF8String();
|
||||
|
||||
|
||||
/**
|
||||
* Compare the atom to a specific string value
|
||||
* Note that this will NEVER return/throw an error condition.
|
||||
|
@ -137,7 +137,7 @@ extern already_AddRefed<nsIAtom> NS_AtomizeMainThread(const nsAString& aUTF16Str
|
|||
extern nsrefcnt NS_GetNumberOfAtoms(void);
|
||||
|
||||
/**
|
||||
* Return a pointer for a static atom for the string or null if there's
|
||||
* Return a pointer for a static atom for the string or null if there's
|
||||
* no static atom for this string.
|
||||
*/
|
||||
extern nsIAtom* NS_GetStaticAtom(const nsAString& aUTF16String);
|
||||
|
|
Загрузка…
Ссылка в новой задаче