mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-18 15:55:36 +00:00
Bug 1627573 - part 1: Remove unused CSSEditUtils::IsCSSEquivalentToHTMLInlineStyleSet()
overload r=m_kato
Differential Revision: https://phabricator.services.mozilla.com/D70148 --HG-- extra : moz-landing-system : lando
This commit is contained in:
parent
fcb1f70a45
commit
b07119c5f5
@ -962,16 +962,6 @@ bool CSSEditUtils::IsCSSEquivalentToHTMLInlineStyleSet(nsINode* aNode,
|
||||
value, aStyleType);
|
||||
}
|
||||
|
||||
// static
|
||||
bool CSSEditUtils::IsCSSEquivalentToHTMLInlineStyleSet(
|
||||
nsINode* aNode, nsAtom* aProperty, const nsAString* aAttribute,
|
||||
nsAString& aValue, StyleType aStyleType) {
|
||||
MOZ_ASSERT(aNode && aProperty);
|
||||
RefPtr<nsAtom> attribute = aAttribute ? NS_Atomize(*aAttribute) : nullptr;
|
||||
return IsCSSEquivalentToHTMLInlineStyleSet(aNode, aProperty, attribute,
|
||||
aValue, aStyleType);
|
||||
}
|
||||
|
||||
// static
|
||||
bool CSSEditUtils::IsCSSEquivalentToHTMLInlineStyleSet(nsINode* aNode,
|
||||
nsAtom* aHTMLProperty,
|
||||
|
@ -204,12 +204,6 @@ class CSSEditUtils final {
|
||||
const nsAString& aValue,
|
||||
StyleType aStyleType);
|
||||
|
||||
static bool IsCSSEquivalentToHTMLInlineStyleSet(nsINode* aContent,
|
||||
nsAtom* aProperty,
|
||||
const nsAString* aAttribute,
|
||||
nsAString& aValue,
|
||||
StyleType aStyleType);
|
||||
|
||||
/**
|
||||
* This is a kind of IsCSSEquivalentToHTMLInlineStyleSet.
|
||||
* IsCSSEquivalentToHTMLInlineStyleSet returns whether the properties
|
||||
|
Loading…
Reference in New Issue
Block a user