diff options
Diffstat (limited to 'chrome/browser/ui/gtk/tabs/tab_gtk.cc')
-rw-r--r-- | chrome/browser/ui/gtk/tabs/tab_gtk.cc | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/chrome/browser/ui/gtk/tabs/tab_gtk.cc b/chrome/browser/ui/gtk/tabs/tab_gtk.cc index 7b0037a..e32085c 100644 --- a/chrome/browser/ui/gtk/tabs/tab_gtk.cc +++ b/chrome/browser/ui/gtk/tabs/tab_gtk.cc @@ -24,6 +24,8 @@ #include "ui/base/gtk/scoped_handle_gtk.h" #include "ui/gfx/path.h" +using content::WebContents; + namespace { // Returns the width of the title for the current font, in pixels. @@ -264,7 +266,7 @@ void TabGtk::CloseButtonClicked() { delegate_->CloseTab(this); } -void TabGtk::UpdateData(TabContents* contents, bool app, bool loading_only) { +void TabGtk::UpdateData(WebContents* contents, bool app, bool loading_only) { TabRendererGtk::UpdateData(contents, app, loading_only); // Cache the title width so we don't recalculate it every time the tab is // resized. |