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

Unified Diff: third_party/WebKit/Source/core/html/imports/HTMLImportChild.cpp

Issue 1716803002: Trigger repaint on first paint only on pending stylesheet decrement. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 10 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
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 afc59cbdfda27ce3b8aa7ed0140e1e0bbcc1e613..edc0e4003469847171f785021c29c5c912eb63ee 100644
--- a/third_party/WebKit/Source/core/html/imports/HTMLImportChild.cpp
+++ b/third_party/WebKit/Source/core/html/imports/HTMLImportChild.cpp
@@ -32,6 +32,7 @@
#include "core/css/StyleSheetList.h"
#include "core/dom/Document.h"
+#include "core/dom/StyleEngine.h"
#include "core/dom/custom/CustomElement.h"
#include "core/dom/custom/CustomElementMicrotaskImportStep.h"
#include "core/dom/custom/CustomElementSyncMicrotaskQueue.h"
@@ -66,7 +67,7 @@ void HTMLImportChild::ownerInserted()
{
if (!m_loader->isDone())
return;
- root()->document()->styleResolverChanged();
+ root()->document()->styleEngine().resolverChanged(FullStyleUpdate);
}
void HTMLImportChild::didShareLoader()

Powered by Google App Engine
This is Rietveld 408576698