Index: Source/core/html/HTMLStyleElement.cpp |
diff --git a/Source/core/html/HTMLStyleElement.cpp b/Source/core/html/HTMLStyleElement.cpp |
index 76f96d2f4609ea04fd568022e84e0864520628f0..cb3bfc98e4f369f41803f94fe2f711d9a0fb4d39 100644 |
--- a/Source/core/html/HTMLStyleElement.cpp |
+++ b/Source/core/html/HTMLStyleElement.cpp |
@@ -210,6 +210,8 @@ void HTMLStyleElement::removedFrom(ContainerNode* insertionPoint) |
void HTMLStyleElement::didNotifySubtreeInsertionsToDocument() |
{ |
+ if (!inDocument()) |
+ return; |
abarth-chromium
2014/04/02 05:46:05
Do other didNotifySubtreeInsertionsToDocument assu
|
StyleElement::processStyleSheet(document(), this); |
} |