| Index: Source/core/editing/EditingStyle.cpp
|
| diff --git a/Source/core/editing/EditingStyle.cpp b/Source/core/editing/EditingStyle.cpp
|
| index 6a67d9d50f595b64c1eb30958a01d52b89a81285..5ab6d5b41935f1426bf8e2a75e706ed561ad1082 100644
|
| --- a/Source/core/editing/EditingStyle.cpp
|
| +++ b/Source/core/editing/EditingStyle.cpp
|
| @@ -881,8 +881,9 @@ bool EditingStyle::styleIsPresentInComputedStyleOfNode(Node* node) const
|
|
|
| bool EditingStyle::elementIsStyledSpanOrHTMLEquivalent(const HTMLElement* element)
|
| {
|
| + ASSERT(element);
|
| bool elementIsSpanOrElementEquivalent = false;
|
| - if (element->hasTagName(HTMLNames::spanTag))
|
| + if (isHTMLSpanElement(*element))
|
| elementIsSpanOrElementEquivalent = true;
|
| else {
|
| const Vector<OwnPtr<HTMLElementEquivalent> >& HTMLElementEquivalents = htmlElementEquivalents();
|
|
|