| 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 a8b42166f3bd5ac40de224ee472283b932e10ed0..f4451ca0ace3a9730c2ccf4d2c6ae9a2b85961b8 100644
|
| --- a/third_party/WebKit/Source/core/loader/DocumentLoader.h
|
| +++ b/third_party/WebKit/Source/core/loader/DocumentLoader.h
|
| @@ -105,7 +105,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; }
|
| @@ -209,6 +209,7 @@ private:
|
|
|
| bool m_isClientRedirect;
|
| bool m_replacesCurrentHistoryItem;
|
| + bool m_dataReceived;
|
|
|
| NavigationType m_navigationType;
|
|
|
| @@ -228,7 +229,6 @@ private:
|
| NotStarted,
|
| Provisional,
|
| Committed,
|
| - DataReceived,
|
| MainResourceDone,
|
| SentDidFinishLoad
|
| };
|
|
|