Index: third_party/WebKit/Source/core/dom/StyleElement.cpp |
diff --git a/third_party/WebKit/Source/core/dom/StyleElement.cpp b/third_party/WebKit/Source/core/dom/StyleElement.cpp |
index 8b379886e2075cd2ca5b994def791e4178b1528c..7a8f7123fadb7b69dd4027f986bb67901402d329 100644 |
--- a/third_party/WebKit/Source/core/dom/StyleElement.cpp |
+++ b/third_party/WebKit/Source/core/dom/StyleElement.cpp |
@@ -105,18 +105,6 @@ void StyleElement::removedFrom(Element* element, ContainerNode* insertionPoint) |
document.styleEngine().setNeedsActiveStyleUpdate(removedSheet, AnalyzedStyleUpdate); |
} |
-void StyleElement::clearDocumentData(Document& document, Element* element) |
-{ |
- if (m_sheet) |
- m_sheet->clearOwnerNode(); |
- |
- if (m_registeredAsCandidate) { |
- DCHECK(element->isConnected()); |
- document.styleEngine().removeStyleSheetCandidateNode(element, element->treeScope()); |
- m_registeredAsCandidate = false; |
- } |
-} |
- |
StyleElement::ProcessingResult StyleElement::childrenChanged(Element* element) |
{ |
DCHECK(element); |