diff options
Diffstat (limited to 'chrome/browser/tab_contents/tab_contents_view.cc')
-rw-r--r-- | chrome/browser/tab_contents/tab_contents_view.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/chrome/browser/tab_contents/tab_contents_view.cc b/chrome/browser/tab_contents/tab_contents_view.cc index 99a052a..2b8ae76 100644 --- a/chrome/browser/tab_contents/tab_contents_view.cc +++ b/chrome/browser/tab_contents/tab_contents_view.cc @@ -23,8 +23,8 @@ void TabContentsView::RenderViewCreated(RenderViewHost* host) { // Default implementation does nothing. Platforms may override. } -void TabContentsView::UpdatePreferredWidth(int pref_width) { - preferred_width_ = pref_width; +void TabContentsView::UpdatePreferredSize(const gfx::Size& pref_size) { + preferred_width_ = pref_size.width(); } void TabContentsView::CreateNewWindow(int route_id) { |