Index: content/browser/web_contents/navigation_controller_impl_unittest.cc |
diff --git a/content/browser/web_contents/navigation_controller_impl_unittest.cc b/content/browser/web_contents/navigation_controller_impl_unittest.cc |
index 7a0b03b2bf06d7f09b1feb1144aae0701201b645..a14f6e29478fc249a9b9759d9904ee6e589b2b16 100644 |
--- a/content/browser/web_contents/navigation_controller_impl_unittest.cc |
+++ b/content/browser/web_contents/navigation_controller_impl_unittest.cc |
@@ -355,8 +355,9 @@ TEST_F(NavigationControllerTest, LoadURL) { |
EXPECT_FALSE(controller.CanGoForward()); |
EXPECT_EQ(contents()->GetMaxPageID(), -1); |
- // The timestamp should not have been set yet. |
+ // Neither the timestamp nor the status code should have been set yet. |
EXPECT_TRUE(controller.GetPendingEntry()->GetTimestamp().is_null()); |
+ EXPECT_EQ(0, controller.GetPendingEntry()->GetHttpStatusCode()); |
// We should have gotten no notifications from the preceeding checks. |
EXPECT_EQ(0U, notifications.size()); |