Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1246)

Unified Diff: Source/core/loader/FrameLoaderStateMachine.cpp

Issue 22891017: Remove FrameLoaderStateMachine::DisplayingInitialEmptyDocumentPostCommit (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « Source/core/loader/FrameLoaderStateMachine.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/loader/FrameLoaderStateMachine.cpp
diff --git a/Source/core/loader/FrameLoaderStateMachine.cpp b/Source/core/loader/FrameLoaderStateMachine.cpp
index 52957e41884d5ecf9d633b130ab17595fcef38bd..2ad0e231cb7e09019131c3f11665c77e799b55b7 100644
--- a/Source/core/loader/FrameLoaderStateMachine.cpp
+++ b/Source/core/loader/FrameLoaderStateMachine.cpp
@@ -46,7 +46,7 @@ bool FrameLoaderStateMachine::startedFirstRealLoad() const
bool FrameLoaderStateMachine::committedFirstRealDocumentLoad() const
{
- return m_state >= DisplayingInitialEmptyDocumentPostCommit;
+ return m_state == CommittedFirstRealLoad;
}
bool FrameLoaderStateMachine::creatingInitialEmptyDocument() const
@@ -56,7 +56,7 @@ bool FrameLoaderStateMachine::creatingInitialEmptyDocument() const
bool FrameLoaderStateMachine::isDisplayingInitialEmptyDocument() const
{
- return m_state >= DisplayingInitialEmptyDocument && m_state <= DisplayingInitialEmptyDocumentPostCommit;
+ return m_state >= DisplayingInitialEmptyDocument && m_state < CommittedFirstRealLoad;
}
void FrameLoaderStateMachine::advanceTo(State state)
« no previous file with comments | « Source/core/loader/FrameLoaderStateMachine.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698