| 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 12c4f9f08005cda108d0936b2ccc1a563df1550f..1ae24b262d9292e9b31fd596a12a6d89edbe1019 100644
|
| --- a/third_party/WebKit/Source/core/dom/Document.cpp
|
| +++ b/third_party/WebKit/Source/core/dom/Document.cpp
|
| @@ -2120,6 +2120,14 @@ void Document::setIsViewSource(bool isViewSource)
|
| didUpdateSecurityOrigin();
|
| }
|
|
|
| +bool Document::isRenderingReady() const
|
| +{
|
| + if (isHTMLDocument() && RuntimeEnabledFeatures::htmlParserBlocksOnCSSEnabled())
|
| + return true;
|
| +
|
| + return haveImportsLoaded() && haveStylesheetsLoaded();
|
| +}
|
| +
|
| bool Document::dirtyElementsForLayerUpdate()
|
| {
|
| if (m_layerUpdateSVGFilterElements.isEmpty())
|
|
|