summaryrefslogtreecommitdiffstats
path: root/chrome/browser/ui/panels/panel.cc
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/ui/panels/panel.cc')
-rw-r--r--chrome/browser/ui/panels/panel.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/chrome/browser/ui/panels/panel.cc b/chrome/browser/ui/panels/panel.cc
index 1e4d991..b9015ee 100644
--- a/chrome/browser/ui/panels/panel.cc
+++ b/chrome/browser/ui/panels/panel.cc
@@ -598,7 +598,7 @@ void Panel::ConfigureAutoResize(TabContents* tab_contents) {
return;
// NULL might be returned if the tab has not been added.
- RenderViewHost* render_view_host = tab_contents->render_view_host();
+ RenderViewHost* render_view_host = tab_contents->GetRenderViewHost();
if (!render_view_host)
return;