Index: chrome/browser/views/old_frames/simple_vista_frame.cc |
=================================================================== |
--- chrome/browser/views/old_frames/simple_vista_frame.cc (revision 3391) |
+++ chrome/browser/views/old_frames/simple_vista_frame.cc (working copy) |
@@ -203,12 +203,11 @@ |
if (browser_->ShouldDisplayURLField()) { |
TabContentsContainerView* container = GetTabContentsContainer(); |
- CSize s; |
- location_bar_->GetPreferredSize(&s); |
+ gfx::Size s = location_bar_->GetPreferredSize(); |
location_bar_->SetBounds(container->x() - kLocationBarOutdent, |
container->y() - kLocationBarOutdent, |
container->width() + kLocationBarOutdent * 2, |
- s.cy); |
+ s.height()); |
container->SetBounds(container->x(), |
location_bar_->y() + location_bar_->height() - |
kLocationBarSpacing, container->width(), |