Index: chrome/browser/sessions/session_service_unittest.cc |
diff --git a/chrome/browser/sessions/session_service_unittest.cc b/chrome/browser/sessions/session_service_unittest.cc |
index edbedbe034f1b204ecfad2e4f883f670965e0ad3..9e11086ac62e29a53265174f3364a0fa42b0f6f0 100644 |
--- a/chrome/browser/sessions/session_service_unittest.cc |
+++ b/chrome/browser/sessions/session_service_unittest.cc |
@@ -822,7 +822,8 @@ TEST_F(SessionServiceTest, RemovePostDataWithPasswords) { |
// Expected: the HTTP body was removed from the page state of the POST |
// navigation with passwords. |
- EXPECT_NE(page_state, windows[0]->tabs[0]->navigations[0].page_state()); |
+ EXPECT_NE(page_state.ToEncodedData(), |
+ windows[0]->tabs[0]->navigations[0].encoded_page_state()); |
} |
// This test is only applicable to chromeos. |