Index: Source/core/html/parser/HTMLScriptRunner.h |
diff --git a/Source/core/html/parser/HTMLScriptRunner.h b/Source/core/html/parser/HTMLScriptRunner.h |
index 0e52a700f2590e8b7111de0fa6c244c143f727d3..efa3fffa04c4a9bcdeb0a75109f85bf5e9242bf5 100644 |
--- a/Source/core/html/parser/HTMLScriptRunner.h |
+++ b/Source/core/html/parser/HTMLScriptRunner.h |
@@ -56,8 +56,8 @@ public: |
void execute(PassRefPtr<Element> scriptToProcess, const TextPosition& scriptStartPosition); |
void executeScriptsWaitingForLoad(CachedResource*); |
- bool hasScriptsWaitingForStylesheets() const { return m_hasScriptsWaitingForStylesheets; } |
- void executeScriptsWaitingForStylesheets(); |
+ bool hasScriptsWaitingForResources() const { return m_hasScriptsWaitingForResources; } |
+ void executeScriptsWaitingForResources(); |
bool executeScriptsWaitingForParsing(); |
bool hasParserBlockingScript() const; |
@@ -93,8 +93,8 @@ private: |
// We only want stylesheet loads to trigger script execution if script |
// execution is currently stopped due to stylesheet loads, otherwise we'd |
// cause nested script execution when parsing <style> tags since </style> |
- // tags can cause Document to call executeScriptsWaitingForStylesheets. |
- bool m_hasScriptsWaitingForStylesheets; |
+ // tags can cause Document to call executeScriptsWaitingForResources. |
+ bool m_hasScriptsWaitingForResources; |
}; |
} |