| Index: chrome/browser/tab_contents/tab_util.cc
|
| ===================================================================
|
| --- chrome/browser/tab_contents/tab_util.cc (revision 138369)
|
| +++ chrome/browser/tab_contents/tab_util.cc (working copy)
|
| @@ -9,7 +9,6 @@
|
| #include "chrome/browser/ui/webui/chrome_web_ui_controller_factory.h"
|
| #include "chrome/common/chrome_switches.h"
|
| #include "content/public/browser/render_view_host.h"
|
| -#include "content/public/browser/render_view_host_delegate.h"
|
| #include "content/public/browser/site_instance.h"
|
| #include "content/public/browser/web_contents.h"
|
| #include "googleurl/src/gurl.h"
|
| @@ -27,7 +26,7 @@
|
| if (!render_view_host)
|
| return NULL;
|
|
|
| - return render_view_host->GetDelegate()->GetAsWebContents();
|
| + return WebContents::FromRenderViewHost(render_view_host);
|
| }
|
|
|
| SiteInstance* GetSiteInstanceForNewTab(Profile* profile,
|
|
|