Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(4010)

Unified Diff: chrome/browser/ui/webui/ntp/recently_closed_tabs_handler.cc

Issue 10831308: Revert 151036 - Speculative revert to see if this change introduced a performance regression on Mac… (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 8 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/browser/ui/views/sad_tab_view.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/webui/ntp/recently_closed_tabs_handler.cc
===================================================================
--- chrome/browser/ui/webui/ntp/recently_closed_tabs_handler.cc (revision 151481)
+++ chrome/browser/ui/webui/ntp/recently_closed_tabs_handler.cc (working copy)
@@ -96,8 +96,8 @@
session_tab, NEW_FOREGROUND_TAB);
#else
TabRestoreServiceDelegate* delegate =
- TabRestoreServiceDelegate::FindDelegateForController(
- &web_ui()->GetWebContents()->GetController(), NULL);
+ TabRestoreServiceDelegate::FindDelegateForWebContents(
+ web_ui()->GetWebContents());
if (!delegate)
return;
WindowOpenDisposition disposition =
« no previous file with comments | « chrome/browser/ui/views/sad_tab_view.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698