Index: third_party/WebKit/Source/core/html/HTMLLinkElement.cpp |
diff --git a/third_party/WebKit/Source/core/html/HTMLLinkElement.cpp b/third_party/WebKit/Source/core/html/HTMLLinkElement.cpp |
index 38cddc87122147cde22309985d14c1951944b10f..c73e440047c214df9a85217a9e92819fac50eac3 100644 |
--- a/third_party/WebKit/Source/core/html/HTMLLinkElement.cpp |
+++ b/third_party/WebKit/Source/core/html/HTMLLinkElement.cpp |
@@ -219,13 +219,12 @@ void HTMLLinkElement::removedFrom(ContainerNode* insertionPoint) { |
document().styleEngine().removeStyleSheetCandidateNode(*this, |
*insertionPoint); |
- StyleSheet* removedSheet = sheet(); |
- |
if (m_link) |
m_link->ownerRemoved(); |
- document().styleEngine().setNeedsActiveStyleUpdate(removedSheet, |
- AnalyzedStyleUpdate); |
+ // TODO(rune@opera.com): resolverChanged() can be removed once stylesheet |
+ // updates are async. https://crbug.com/567021 |
+ document().styleEngine().resolverChanged(AnalyzedStyleUpdate); |
} |
void HTMLLinkElement::finishParsingChildren() { |