| Index: chrome/browser/tab_contents/tab_util.cc
|
| ===================================================================
|
| --- chrome/browser/tab_contents/tab_util.cc (revision 116244)
|
| +++ chrome/browser/tab_contents/tab_util.cc (working copy)
|
| @@ -9,10 +9,13 @@
|
| #include "chrome/browser/ui/webui/chrome_web_ui_factory.h"
|
| #include "chrome/common/chrome_switches.h"
|
| #include "content/browser/renderer_host/render_view_host.h"
|
| +#include "content/browser/renderer_host/render_view_host_delegate.h"
|
| #include "content/browser/site_instance.h"
|
| -#include "content/browser/tab_contents/tab_contents.h"
|
| +#include "content/public/browser/web_contents.h"
|
| #include "googleurl/src/gurl.h"
|
|
|
| +using content::WebContents;
|
| +
|
| namespace tab_util {
|
|
|
| TabContents* GetTabContentsByID(int render_process_id, int render_view_id) {
|
| @@ -34,7 +37,7 @@
|
| return render_view_host->delegate()->GetAsWebContents();
|
| }
|
|
|
| -SiteInstance* GetSiteInstanceForNewTab(TabContents* source_contents,
|
| +SiteInstance* GetSiteInstanceForNewTab(WebContents* source_contents,
|
| Profile* profile,
|
| const GURL& url) {
|
| // If url is a WebUI or extension, we need to be sure to use the right type
|
|
|