| Index: ios/chrome/browser/tabs/tab_unittest.mm
|
| diff --git a/ios/chrome/browser/tabs/tab_unittest.mm b/ios/chrome/browser/tabs/tab_unittest.mm
|
| index 1136415493f190801421ef8b94cb97e5c989ca29..7594a6980f7c480f4e7db71e21a50908c2c4ace6 100644
|
| --- a/ios/chrome/browser/tabs/tab_unittest.mm
|
| +++ b/ios/chrome/browser/tabs/tab_unittest.mm
|
| @@ -54,7 +54,6 @@
|
| using web::WebStateImpl;
|
|
|
| static const char kNewTabUrl[] = "chrome://newtab/";
|
| -static NSString* const kNewTabTitle = @"New Tab";
|
| static const char kGoogleUserUrl[] = "http://google.com";
|
| static const char kGoogleRedirectUrl[] = "http://www.google.fr/";
|
| static NSString* const kGoogleTitle = @"Google";
|
| @@ -247,7 +246,7 @@ class TabTest : public BlockCleanupTest {
|
| base::string16 new_title = base::SysNSStringToUTF16(title);
|
| [tab_ navigationManager]->GetLastCommittedItem()->SetTitle(new_title);
|
|
|
| - [tab_ webController:mock_web_controller_ titleDidChange:title];
|
| + web_state_impl_->OnTitleChanged();
|
| [[[(id)mock_web_controller_ expect]
|
| andReturnValue:OCMOCK_VALUE(kPageLoaded)] loadPhase];
|
| web_state_impl_->OnPageLoaded(redirectUrl, true);
|
| @@ -267,7 +266,7 @@ class TabTest : public BlockCleanupTest {
|
| [[[(id)mock_web_controller_ expect]
|
| andReturnValue:OCMOCK_VALUE(kPageLoaded)] loadPhase];
|
| web_state_impl_->OnPageLoaded(url, true);
|
| - [tab_ webController:mock_web_controller_ titleDidChange:kNewTabTitle];
|
| + web_state_impl_->OnTitleChanged();
|
| }
|
|
|
| void QueryAllHistory(history::QueryResults* results) {
|
|
|