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 690d9d17d1fc08b0adf602928f5f6f8d63f8ceaa..400dbe256db13e82e1e9d9b2efd5338961b30a23 100644 |
--- a/third_party/WebKit/Source/core/dom/StyleElement.cpp |
+++ b/third_party/WebKit/Source/core/dom/StyleElement.cpp |
@@ -106,7 +106,7 @@ void StyleElement::removedFrom(Element* element, ContainerNode* insertionPoint) |
if (m_sheet) |
clearSheet(element); |
if (removedSheet) |
- document.removedStyleSheet(removedSheet.get(), AnalyzedStyleUpdate); |
+ document.styleEngine().setNeedsActiveStyleUpdate(removedSheet.get(), AnalyzedStyleUpdate); |
} |
void StyleElement::clearDocumentData(Document& document, Element* element) |