Index: third_party/WebKit/Source/core/editing/EditingStyle.cpp |
diff --git a/third_party/WebKit/Source/core/editing/EditingStyle.cpp b/third_party/WebKit/Source/core/editing/EditingStyle.cpp |
index cd7d9169a3c7f695ac0073a1137d00394daeed3e..6875977817c276041f7a48618a7d887f2eab037b 100644 |
--- a/third_party/WebKit/Source/core/editing/EditingStyle.cpp |
+++ b/third_party/WebKit/Source/core/editing/EditingStyle.cpp |
@@ -1064,9 +1064,6 @@ bool EditingStyle::elementIsStyledSpanOrHTMLEquivalent( |
return false; |
} |
- if (element->getAttribute(HTMLNames::classAttr) == AppleStyleSpanClass) |
- matchedAttributes++; |
- |
if (element->hasAttribute(HTMLNames::styleAttr)) { |
if (const StylePropertySet* style = element->inlineStyle()) { |
unsigned propertyCount = style->propertyCount(); |