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 8fac39c3f48f6a3fa22ad1a0b72762015aa855a7..0b3d1845db1a04e8d1942f833a6b6d8a916e836d 100644 |
--- a/third_party/WebKit/Source/core/html/HTMLLinkElement.cpp |
+++ b/third_party/WebKit/Source/core/html/HTMLLinkElement.cpp |
@@ -319,7 +319,7 @@ void HTMLLinkElement::removedFrom(ContainerNode* insertionPoint) |
if (m_link) |
m_link->ownerRemoved(); |
- document().removedStyleSheet(removedSheet.get()); |
+ document().styleEngine().setNeedsActiveStyleUpdate(removedSheet.get(), FullStyleUpdate); |
} |
void HTMLLinkElement::finishParsingChildren() |
@@ -773,7 +773,7 @@ void LinkStyle::process() |
// we no longer contain a stylesheet, e.g. perhaps rel or type was changed |
RefPtrWillBeRawPtr<StyleSheet> removedSheet = m_sheet.get(); |
clearSheet(); |
- document().removedStyleSheet(removedSheet.get()); |
+ document().styleEngine().setNeedsActiveStyleUpdate(removedSheet.get(), FullStyleUpdate); |
} |
} |