Index: third_party/WebKit/Source/core/dom/ProcessingInstruction.cpp |
diff --git a/third_party/WebKit/Source/core/dom/ProcessingInstruction.cpp b/third_party/WebKit/Source/core/dom/ProcessingInstruction.cpp |
index 32c4fba429dd4506713263d92e5e53734acf8659..9714d1a6061ede3f58848014e1338e441b69ba9d 100644 |
--- a/third_party/WebKit/Source/core/dom/ProcessingInstruction.cpp |
+++ b/third_party/WebKit/Source/core/dom/ProcessingInstruction.cpp |
@@ -293,7 +293,7 @@ void ProcessingInstruction::removedFrom(ContainerNode* insertionPoint) |
// If we're in document teardown, then we don't need to do any notification of our sheet's removal. |
if (document().isActive()) |
- document().removedStyleSheet(removedSheet.get()); |
+ document().styleEngine().setNeedsActiveStyleUpdate(removedSheet.get(), FullStyleUpdate); |
} |
void ProcessingInstruction::clearSheet() |