Index: third_party/WebKit/Source/core/editing/serializers/Serialization.cpp |
diff --git a/third_party/WebKit/Source/core/editing/serializers/Serialization.cpp b/third_party/WebKit/Source/core/editing/serializers/Serialization.cpp |
index 859e0cd43abf8f2ceac78802c0bf23968d3c9e15..230319f81f5a0b2bf9684cbee32233f55bff1ede 100644 |
--- a/third_party/WebKit/Source/core/editing/serializers/Serialization.cpp |
+++ b/third_party/WebKit/Source/core/editing/serializers/Serialization.cpp |
@@ -169,16 +169,6 @@ bool propertyMissingOrEqualToNone(StylePropertySet* style, CSSPropertyID propert |
return toCSSPrimitiveValue(value)->getValueID() == CSSValueNone; |
} |
-static bool isPresentationalHTMLElement(const Node* node) |
-{ |
- if (!node->isHTMLElement()) |
- return false; |
- |
- const HTMLElement& element = toHTMLElement(*node); |
- return element.hasTagName(uTag) || element.hasTagName(sTag) || element.hasTagName(strikeTag) |
- || element.hasTagName(iTag) || element.hasTagName(emTag) || element.hasTagName(bTag) || element.hasTagName(strongTag); |
-} |
- |
template<typename Strategy> |
static HTMLElement* highestAncestorToWrapMarkup(const PositionTemplate<Strategy>& startPosition, const PositionTemplate<Strategy>& endPosition, EAnnotateForInterchange shouldAnnotate, Node* constrainingAncestor) |
{ |