| Index: content/browser/web_contents/web_contents_impl_unittest.cc
|
| diff --git a/content/browser/web_contents/web_contents_impl_unittest.cc b/content/browser/web_contents/web_contents_impl_unittest.cc
|
| index 7dabef2c4418b69bd157b570272a33405d0cf2aa..47a28b5717f40d7e5086c5768ea1bf07f3210000 100644
|
| --- a/content/browser/web_contents/web_contents_impl_unittest.cc
|
| +++ b/content/browser/web_contents/web_contents_impl_unittest.cc
|
| @@ -1426,13 +1426,14 @@ TEST_F(WebContentsImplTest, CrossSiteNotPreemptedDuringBeforeUnload) {
|
| TEST_F(WebContentsImplTest, NavigationEntryContentState) {
|
| TestRenderFrameHost* orig_rfh = contents()->GetMainFrame();
|
|
|
| - // Navigate to URL. There should be no committed entry yet.
|
| + // Navigate to URL. There should only be the initial entry so far.
|
| const GURL url("http://www.google.com");
|
| controller().LoadURL(
|
| url, Referrer(), ui::PAGE_TRANSITION_TYPED, std::string());
|
| int entry_id = controller().GetPendingEntry()->GetUniqueID();
|
| + EXPECT_TRUE(controller().IsInitialNavigation());
|
| NavigationEntry* entry = controller().GetLastCommittedEntry();
|
| - EXPECT_EQ(nullptr, entry);
|
| + EXPECT_EQ(GURL(url::kAboutBlankURL), entry->GetURL());
|
|
|
| // Committed entry should have page state after DidNavigate.
|
| orig_rfh->PrepareForCommit();
|
|
|