| Index: third_party/WebKit/Source/core/dom/StyleEngine.h
|
| diff --git a/third_party/WebKit/Source/core/dom/StyleEngine.h b/third_party/WebKit/Source/core/dom/StyleEngine.h
|
| index cd4c207bf07c0c0ca1b6a7dabab6cd819b839f25..02bc8e13169ea3fd8497f2e87358a0a908fcf1e4 100644
|
| --- a/third_party/WebKit/Source/core/dom/StyleEngine.h
|
| +++ b/third_party/WebKit/Source/core/dom/StyleEngine.h
|
| @@ -102,9 +102,9 @@ public:
|
| void addPendingSheet(StyleEngineContext&);
|
| void removePendingSheet(Node* styleSheetCandidateNode, const StyleEngineContext&);
|
|
|
| - bool hasPendingSheets() const { return m_pendingStylesheets > 0; }
|
| + bool hasPendingScriptBlockingSheets() const { return m_pendingScriptBlockingStylesheets > 0; }
|
| bool hasPendingRenderBlockingSheets() const { return m_pendingRenderBlockingStylesheets > 0; }
|
| - bool haveStylesheetsLoaded() const { return !hasPendingSheets() || m_ignorePendingStylesheets; }
|
| + bool haveScriptBlockingStylesheetsLoaded() const { return !hasPendingScriptBlockingSheets() || m_ignorePendingStylesheets; }
|
| bool haveRenderBlockingStylesheetsLoaded() const { return !hasPendingRenderBlockingSheets() || m_ignorePendingStylesheets; }
|
| bool ignoringPendingStylesheets() const { return m_ignorePendingStylesheets; }
|
|
|
| @@ -225,7 +225,7 @@ private:
|
| // Sheets loaded using the @import directive are not included in this count.
|
| // We use this count of pending sheets to detect when we can begin attaching
|
| // elements and when it is safe to execute scripts.
|
| - int m_pendingStylesheets = 0;
|
| + int m_pendingScriptBlockingStylesheets = 0;
|
| int m_pendingRenderBlockingStylesheets = 0;
|
|
|
| HeapVector<Member<CSSStyleSheet>> m_injectedAuthorStyleSheets;
|
|
|