| Index: chrome/browser/ui/webui/devtools_ui.cc
|
| ===================================================================
|
| --- chrome/browser/ui/webui/devtools_ui.cc (revision 116011)
|
| +++ chrome/browser/ui/webui/devtools_ui.cc (working copy)
|
| @@ -13,13 +13,14 @@
|
| #include "chrome/browser/ui/webui/chrome_url_data_manager.h"
|
| #include "chrome/common/url_constants.h"
|
| #include "content/browser/renderer_host/render_view_host.h"
|
| -#include "content/browser/tab_contents/tab_contents.h"
|
| #include "content/public/browser/browser_thread.h"
|
| #include "content/public/browser/devtools_client_host.h"
|
| +#include "content/public/browser/web_contents.h"
|
| #include "grit/devtools_resources_map.h"
|
| #include "ui/base/resource/resource_bundle.h"
|
|
|
| using content::BrowserThread;
|
| +using content::WebContents;
|
|
|
| namespace {
|
|
|
| @@ -99,7 +100,7 @@
|
| }
|
| }
|
|
|
| -DevToolsUI::DevToolsUI(TabContents* contents) : ChromeWebUI(contents) {
|
| +DevToolsUI::DevToolsUI(WebContents* contents) : ChromeWebUI(contents) {
|
| DevToolsDataSource* data_source = new DevToolsDataSource();
|
| Profile* profile = Profile::FromBrowserContext(contents->GetBrowserContext());
|
| profile->GetChromeURLDataManager()->AddDataSource(data_source);
|
|
|