Index: chrome/browser/ui/webui/sessions_ui.cc |
=================================================================== |
--- chrome/browser/ui/webui/sessions_ui.cc (revision 116011) |
+++ chrome/browser/ui/webui/sessions_ui.cc (working copy) |
@@ -18,8 +18,8 @@ |
#include "chrome/browser/ui/webui/ntp/new_tab_ui.h" |
#include "chrome/common/chrome_version_info.h" |
#include "chrome/common/url_constants.h" |
-#include "content/browser/tab_contents/tab_contents.h" |
#include "content/browser/webui/web_ui.h" |
+#include "content/public/browser/web_contents.h" |
#include "grit/browser_resources.h" |
#include "grit/chromium_strings.h" |
#include "grit/generated_resources.h" |
@@ -28,6 +28,8 @@ |
#include "ui/base/l10n/l10n_util.h" |
#include "ui/base/resource/resource_bundle.h" |
+using content::WebContents; |
+ |
namespace { |
ChromeWebUIDataSource* CreateSessionsUIHTMLSource() { |
@@ -253,7 +255,7 @@ |
// |
/////////////////////////////////////////////////////////////////////////////// |
-SessionsUI::SessionsUI(TabContents* contents) : ChromeWebUI(contents) { |
+SessionsUI::SessionsUI(WebContents* contents) : ChromeWebUI(contents) { |
AddMessageHandler(new SessionsDOMHandler()); |
// Set up the chrome://sessions/ source. |