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 06a8129631ec454bb9090660d522cbdf78bc5917..38cddc87122147cde22309985d14c1951944b10f 100644 |
--- a/third_party/WebKit/Source/core/html/HTMLLinkElement.cpp |
+++ b/third_party/WebKit/Source/core/html/HTMLLinkElement.cpp |
@@ -216,7 +216,8 @@ void HTMLLinkElement::removedFrom(ContainerNode* insertionPoint) { |
DCHECK(!linkStyle() || !linkStyle()->hasSheet()); |
return; |
} |
- document().styleEngine().removeStyleSheetCandidateNode(*this); |
+ document().styleEngine().removeStyleSheetCandidateNode(*this, |
+ *insertionPoint); |
StyleSheet* removedSheet = sheet(); |
@@ -224,7 +225,7 @@ void HTMLLinkElement::removedFrom(ContainerNode* insertionPoint) { |
m_link->ownerRemoved(); |
document().styleEngine().setNeedsActiveStyleUpdate(removedSheet, |
- FullStyleUpdate); |
+ AnalyzedStyleUpdate); |
} |
void HTMLLinkElement::finishParsingChildren() { |