| 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 c4e9e772377ba78e4557a3c03de2c16574a396e8..c49dc547cc234f3dd6dc38c84e11c1c3eded308c 100644
|
| --- a/third_party/WebKit/Source/core/dom/Document.cpp
|
| +++ b/third_party/WebKit/Source/core/dom/Document.cpp
|
| @@ -3339,6 +3339,11 @@ void Document::didLoadAllImports() {
|
| didLoadAllScriptBlockingResources();
|
| }
|
|
|
| +void Document::didAddPendingStylesheetInBody() {
|
| + if (ScriptableDocumentParser* parser = scriptableDocumentParser())
|
| + parser->didAddPendingStylesheetInBody();
|
| +}
|
| +
|
| void Document::didRemoveAllPendingStylesheet() {
|
| styleResolverMayHaveChanged();
|
|
|
| @@ -3350,6 +3355,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.
|
|
|