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

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

Issue 9003014: Replace WebUI::tab_contents() with web_contents() and switch all users to use web_contents.h inst... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 years 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
Index: chrome/browser/ui/webui/ntp/recently_closed_tabs_handler.cc
===================================================================
--- chrome/browser/ui/webui/ntp/recently_closed_tabs_handler.cc (revision 116011)
+++ chrome/browser/ui/webui/ntp/recently_closed_tabs_handler.cc (working copy)
@@ -13,7 +13,7 @@
#include "chrome/browser/ui/webui/ntp/new_tab_ui.h"
#include "chrome/browser/ui/webui/web_ui_util.h"
#include "chrome/common/url_constants.h"
-#include "content/browser/tab_contents/tab_contents.h"
+#include "content/public/browser/web_contents.h"
namespace {
@@ -62,7 +62,7 @@
void RecentlyClosedTabsHandler::HandleReopenTab(const ListValue* args) {
TabRestoreServiceDelegate* delegate =
TabRestoreServiceDelegate::FindDelegateForController(
- &web_ui()->tab_contents()->GetController(), NULL);
+ &web_ui()->web_contents()->GetController(), NULL);
if (!delegate || !tab_restore_service_)
return;
« no previous file with comments | « chrome/browser/ui/webui/ntp/ntp_login_handler.cc ('k') | chrome/browser/ui/webui/options/advanced_options_handler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698