Index: chrome/browser/chromeos/policy/device_local_account_browsertest.cc |
diff --git a/chrome/browser/chromeos/policy/device_local_account_browsertest.cc b/chrome/browser/chromeos/policy/device_local_account_browsertest.cc |
index c5c9a484366e1450f93f41315b1b09c62b489e88..d62be55ec1c64205f1be7d148895457e0782d800 100644 |
--- a/chrome/browser/chromeos/policy/device_local_account_browsertest.cc |
+++ b/chrome/browser/chromeos/policy/device_local_account_browsertest.cc |
@@ -343,8 +343,10 @@ IN_PROC_BROWSER_TEST_F(DeviceLocalAccountTest, StartSession) { |
ASSERT_TRUE(tabs); |
int expected_tab_count = static_cast<int>(arraysize(kStartupURLs)); |
EXPECT_EQ(expected_tab_count, tabs->count()); |
- for (int i = 0; i < expected_tab_count && i < tabs->count(); ++i) |
- EXPECT_EQ(GURL(kStartupURLs[i]), tabs->GetWebContentsAt(i)->GetURL()); |
+ for (int i = 0; i < expected_tab_count && i < tabs->count(); ++i) { |
+ EXPECT_EQ(GURL(kStartupURLs[i]), |
+ tabs->GetWebContentsAt(i)->GetVisibleURL()); |
+ } |
} |
IN_PROC_BROWSER_TEST_F(DeviceLocalAccountTest, TermsOfService) { |