зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1244585 - Remove unused Declaration::HasVariableDeclaration method. r=xidorn
This commit is contained in:
Родитель
63c6d1ff18
Коммит
c3c9182dd9
|
@ -1617,13 +1617,6 @@ Declaration::SizeOfIncludingThis(mozilla::MallocSizeOf aMallocSizeOf) const
|
|||
return n;
|
||||
}
|
||||
|
||||
bool
|
||||
Declaration::HasVariableDeclaration(const nsAString& aName) const
|
||||
{
|
||||
return (mVariables && mVariables->Has(aName)) ||
|
||||
(mImportantVariables && mImportantVariables->Has(aName));
|
||||
}
|
||||
|
||||
void
|
||||
Declaration::GetVariableDeclaration(const nsAString& aName,
|
||||
nsAString& aValue) const
|
||||
|
|
|
@ -151,14 +151,6 @@ public:
|
|||
*/
|
||||
void RemoveVariableDeclaration(const nsAString& aName);
|
||||
|
||||
/**
|
||||
* Returns whether a custom property declaration for a variable with
|
||||
* a given name exists on this object.
|
||||
*
|
||||
* @param aName The variable name (i.e., without the "--" prefix).
|
||||
*/
|
||||
bool HasVariableDeclaration(const nsAString& aName) const;
|
||||
|
||||
/**
|
||||
* Gets the string value for a custom property declaration of a variable
|
||||
* with a given name.
|
||||
|
|
Загрузка…
Ссылка в новой задаче