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:
Masayuki Nakano 2020-04-08 12:08:02 +00:00
parent fcb1f70a45
commit b07119c5f5
2 changed files with 0 additions and 16 deletions

View File

@ -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,

View File

@ -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