Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1253)

Unified Diff: Source/core/html/HTMLStyleElement.cpp

Issue 221673003: Defer iframe JavaScript URL evaluation (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Fixed typo Created 6 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « Source/core/dom/StyleElement.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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;
esprehn 2014/04/02 19:33:31 This is impossible, we only call this if you're in
StyleElement::processStyleSheet(document(), this);
}
« no previous file with comments | « Source/core/dom/StyleElement.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698