| Index: third_party/WebKit/Source/core/dom/StyleEngine.cpp
|
| diff --git a/third_party/WebKit/Source/core/dom/StyleEngine.cpp b/third_party/WebKit/Source/core/dom/StyleEngine.cpp
|
| index 6cf9cd236d7a53413edec0707930ae2be58ab390..fc36919ee4cb6b03d4fcf7d92f44ec9459ad7374 100644
|
| --- a/third_party/WebKit/Source/core/dom/StyleEngine.cpp
|
| +++ b/third_party/WebKit/Source/core/dom/StyleEngine.cpp
|
| @@ -501,6 +501,10 @@ void StyleEngine::markTreeScopeDirty(TreeScope& scope)
|
|
|
| void StyleEngine::markDocumentDirty()
|
| {
|
| + // Extension may inject CSS into about:blank document.
|
| + // Unblock layout in such case.
|
| + document().markNonInitialEmptyDocument();
|
| +
|
| m_documentScopeDirty = true;
|
| if (document().importLoader())
|
| document().importsController()->master()->styleEngine().markDocumentDirty();
|
|
|