| Index: chrome/browser/ui/toolbar/back_forward_menu_model_unittest.cc
|
| diff --git a/chrome/browser/ui/toolbar/back_forward_menu_model_unittest.cc b/chrome/browser/ui/toolbar/back_forward_menu_model_unittest.cc
|
| index 03492e2a1cd67efb7bed4ec6c5255a60e5874a87..5d66a187d071cad5a77b48f9788e86dfaed3da5b 100644
|
| --- a/chrome/browser/ui/toolbar/back_forward_menu_model_unittest.cc
|
| +++ b/chrome/browser/ui/toolbar/back_forward_menu_model_unittest.cc
|
| @@ -79,7 +79,8 @@ class BackFwdMenuModelTest : public ChromeRenderViewHostTestHarness {
|
|
|
| void LoadURLAndUpdateState(const char* url, const char* title) {
|
| NavigateAndCommit(GURL(url));
|
| - controller().GetLastCommittedEntry()->SetTitle(base::UTF8ToUTF16(title));
|
| + web_contents()->UpdateTitleForEntry(
|
| + controller().GetLastCommittedEntry(), base::UTF8ToUTF16(title));
|
| }
|
|
|
| // Navigate back or forward the given amount and commits the entry (which
|
|
|