diff options
Diffstat (limited to 'chrome/browser/tab_contents/tab_util.cc')
-rw-r--r-- | chrome/browser/tab_contents/tab_util.cc | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/chrome/browser/tab_contents/tab_util.cc b/chrome/browser/tab_contents/tab_util.cc index 9943279..3437f1c 100644 --- a/chrome/browser/tab_contents/tab_util.cc +++ b/chrome/browser/tab_contents/tab_util.cc @@ -34,6 +34,5 @@ WebContents* tab_util::GetWebContentsByID(int render_process_id, if (!render_view_host) return NULL; - return static_cast<WebContents*>(render_view_host->delegate()); + return render_view_host->delegate()->GetAsWebContents(); } - |