| Index: third_party/WebKit/Source/core/dom/Document.cpp
|
| diff --git a/third_party/WebKit/Source/core/dom/Document.cpp b/third_party/WebKit/Source/core/dom/Document.cpp
|
| index 8cc5f7d660d9c64dc2ca9e102f1ace83aee80b17..630358eff4288e6e99d5846d6510fea9ea58e10a 100644
|
| --- a/third_party/WebKit/Source/core/dom/Document.cpp
|
| +++ b/third_party/WebKit/Source/core/dom/Document.cpp
|
| @@ -3344,12 +3344,19 @@ void Document::didLoadAllImports() {
|
| didLoadAllScriptBlockingResources();
|
| }
|
|
|
| +void Document::didAddPendingStylesheetInBody() {
|
| + if (ScriptableDocumentParser* parser = scriptableDocumentParser())
|
| + parser->didAddPendingStylesheetInBody();
|
| +}
|
| +
|
| void Document::didRemoveAllPendingStylesheet() {
|
| styleResolverMayHaveChanged();
|
|
|
| // Only imports on master documents can trigger rendering.
|
| if (HTMLImportLoader* import = importLoader())
|
| import->didRemoveAllPendingStylesheet();
|
| + if (ScriptableDocumentParser* parser = scriptableDocumentParser())
|
| + parser->didLoadAllStylesheets();
|
| if (!haveImportsLoaded())
|
| return;
|
| didLoadAllScriptBlockingResources();
|
|
|