Index: third_party/WebKit/Source/core/html/imports/HTMLImportChild.cpp |
diff --git a/third_party/WebKit/Source/core/html/imports/HTMLImportChild.cpp b/third_party/WebKit/Source/core/html/imports/HTMLImportChild.cpp |
index 7b045d5829383c80336277d60ca62e7785898d9d..8718ce5913f19a5e8e8a2556319f3a7d5ff27399 100644 |
--- a/third_party/WebKit/Source/core/html/imports/HTMLImportChild.cpp |
+++ b/third_party/WebKit/Source/core/html/imports/HTMLImportChild.cpp |
@@ -54,7 +54,10 @@ HTMLImportChild::~HTMLImportChild() {} |
void HTMLImportChild::ownerInserted() { |
if (!m_loader->isDone()) |
return; |
- root()->document()->styleEngine().resolverChanged(FullStyleUpdate); |
+ document()->styleEngine().htmlImportAddedOrRemoved(); |
+ // TODO(rune@opera.com): resolverChanged() can be removed once stylesheet |
+ // updates are async. https://crbug.com/567021 |
+ root()->document()->styleEngine().resolverChanged(AnalyzedStyleUpdate); |
} |
void HTMLImportChild::didShareLoader() { |