Index: chrome/browser/ui/webui/new_tab_ui.cc |
diff --git a/chrome/browser/ui/webui/new_tab_ui.cc b/chrome/browser/ui/webui/new_tab_ui.cc |
index 25ca83da2d3b4a6ff202708900098c0fc4d2e09c..24806cacd53b6376c8253a6f3a93961527ee2f85 100644 |
--- a/chrome/browser/ui/webui/new_tab_ui.cc |
+++ b/chrome/browser/ui/webui/new_tab_ui.cc |
@@ -121,7 +121,8 @@ void RecentlyClosedTabsHandler::HandleReopenTab(const ListValue* args) { |
int session_to_restore; |
if (ExtractIntegerValue(args, &session_to_restore)) |
- tab_restore_service_->RestoreEntryById(browser, session_to_restore, true); |
+ tab_restore_service_->RestoreEntryById( |
+ browser->tab_restore_service_delegate(), session_to_restore, true); |
// The current tab has been nuked at this point; don't touch any member |
// variables. |
} |