Index: Source/core/html/imports/HTMLImportState.h |
diff --git a/Source/core/html/imports/HTMLImportState.h b/Source/core/html/imports/HTMLImportState.h |
index 6c3c14080f4e00c7ce933f6c951e0f3377d5d3d1..356a40df39bf28967c1b21b7e6688582f2a04a54 100644 |
--- a/Source/core/html/imports/HTMLImportState.h |
+++ b/Source/core/html/imports/HTMLImportState.h |
@@ -38,19 +38,17 @@ namespace WebCore { |
class HTMLImportState { |
public: |
enum Value { |
- BlockingDocumentCreation = 0, |
- BlockingScriptExecution, |
+ BlockingScriptExecution = 0, |
Active, |
Ready, |
Invalid |
}; |
- explicit HTMLImportState(Value value = BlockingDocumentCreation) |
+ explicit HTMLImportState(Value value = BlockingScriptExecution) |
: m_value(value) |
{ } |
bool shouldBlockScriptExecution() const { return checkedValue() <= BlockingScriptExecution; } |
- bool shouldBlockDocumentCreation() const { return checkedValue() <= BlockingDocumentCreation; } |
bool isReady() const { return checkedValue() == Ready; } |
bool isValid() const { return m_value != Invalid; } |
bool operator==(const HTMLImportState& other) const { return m_value == other.m_value; } |
@@ -62,7 +60,7 @@ public: |
#endif |
static HTMLImportState invalidState() { return HTMLImportState(Invalid); } |
- static HTMLImportState blockedState() { return HTMLImportState(BlockingDocumentCreation); } |
+ static HTMLImportState blockedState() { return HTMLImportState(BlockingScriptExecution); } |
private: |
Value checkedValue() const; |
Value m_value; |