| 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 150f6e080bfb8c13f4c10b664f5b87292c99ad25..6b32a0c332ca1d6ceb1e8ed8d3f692b7340a8c91 100644
|
| --- a/third_party/WebKit/Source/core/dom/Document.cpp
|
| +++ b/third_party/WebKit/Source/core/dom/Document.cpp
|
| @@ -3365,6 +3365,11 @@ void Document::didLoadAllImports() {
|
| didLoadAllScriptBlockingResources();
|
| }
|
|
|
| +void Document::didAddPendingStylesheetInBody() {
|
| + if (ScriptableDocumentParser* parser = scriptableDocumentParser())
|
| + parser->didAddPendingStylesheetInBody();
|
| +}
|
| +
|
| void Document::didRemoveAllPendingStylesheet() {
|
| styleResolverMayHaveChanged();
|
|
|
| @@ -3376,6 +3381,11 @@ void Document::didRemoveAllPendingStylesheet() {
|
| didLoadAllScriptBlockingResources();
|
| }
|
|
|
| +void Document::didRemoveAllPendingBodyStylesheets() {
|
| + if (ScriptableDocumentParser* parser = scriptableDocumentParser())
|
| + parser->didLoadAllBodyStylesheets();
|
| +}
|
| +
|
| void Document::didLoadAllScriptBlockingResources() {
|
| // Use wrapWeakPersistent because the task should not keep this Document alive
|
| // just for executing scripts.
|
|
|