| Index: third_party/WebKit/Source/core/loader/DocumentLoader.h
|
| diff --git a/third_party/WebKit/Source/core/loader/DocumentLoader.h b/third_party/WebKit/Source/core/loader/DocumentLoader.h
|
| index 2551df872fb5b04b5a3a8cccd0329f13346b2be6..b3c61239392e10bb743751b72af656e8147ee80d 100644
|
| --- a/third_party/WebKit/Source/core/loader/DocumentLoader.h
|
| +++ b/third_party/WebKit/Source/core/loader/DocumentLoader.h
|
| @@ -107,7 +107,7 @@ public:
|
| bool replacesCurrentHistoryItem() const { return m_replacesCurrentHistoryItem; }
|
| void setReplacesCurrentHistoryItem(bool replacesCurrentHistoryItem) { m_replacesCurrentHistoryItem = replacesCurrentHistoryItem; }
|
|
|
| - bool isCommittedButEmpty() const { return m_state == Committed; }
|
| + bool isCommittedButEmpty() const { return m_state >= Committed && !m_dataReceived; }
|
|
|
| void setSentDidFinishLoad() { m_state = SentDidFinishLoad; }
|
| bool sentDidFinishLoad() const { return m_state == SentDidFinishLoad; }
|
| @@ -213,6 +213,7 @@ private:
|
|
|
| bool m_isClientRedirect;
|
| bool m_replacesCurrentHistoryItem;
|
| + bool m_dataReceived;
|
|
|
| NavigationType m_navigationType;
|
|
|
| @@ -232,7 +233,6 @@ private:
|
| NotStarted,
|
| Provisional,
|
| Committed,
|
| - DataReceived,
|
| MainResourceDone,
|
| SentDidFinishLoad
|
| };
|
|
|