| Index: Source/WebCore/dom/StyleElement.cpp
|
| ===================================================================
|
| --- Source/WebCore/dom/StyleElement.cpp (revision 93496)
|
| +++ Source/WebCore/dom/StyleElement.cpp (working copy)
|
| @@ -84,6 +84,15 @@
|
| document->styleSelectorChanged(DeferRecalcStyle);
|
| }
|
|
|
| +void StyleElement::clearDocumentData(Document* document, Element* element)
|
| +{
|
| + if (m_sheet)
|
| + m_sheet->clearOwnerNode();
|
| +
|
| + if (element->inDocument())
|
| + document->removeStyleSheetCandidateNode(element);
|
| +}
|
| +
|
| void StyleElement::childrenChanged(Element* element)
|
| {
|
| ASSERT(element);
|
|
|