summaryrefslogtreecommitdiffstats
path: root/chrome/browser/views/old_frames
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/views/old_frames')
-rw-r--r--chrome/browser/views/old_frames/vista_frame.cc2
-rw-r--r--chrome/browser/views/old_frames/xp_frame.cc2
2 files changed, 2 insertions, 2 deletions
diff --git a/chrome/browser/views/old_frames/vista_frame.cc b/chrome/browser/views/old_frames/vista_frame.cc
index fe1f0b4..d381731 100644
--- a/chrome/browser/views/old_frames/vista_frame.cc
+++ b/chrome/browser/views/old_frames/vista_frame.cc
@@ -1471,7 +1471,7 @@ bool VistaFrame::UpdateChildViewAndLayout(ChromeViews::View* new_view,
} else if (new_view && *view) {
// The view changed, but the new view wants the same size, give it the
// bounds of the last view and have it repaint.
- new_view->SetBounds((*view)->bounds().ToRECT());
+ new_view->SetBounds((*view)->bounds());
new_view->SchedulePaint();
} else if (new_view) {
DCHECK(new_height == 0);
diff --git a/chrome/browser/views/old_frames/xp_frame.cc b/chrome/browser/views/old_frames/xp_frame.cc
index 24f614d..4fddbe8 100644
--- a/chrome/browser/views/old_frames/xp_frame.cc
+++ b/chrome/browser/views/old_frames/xp_frame.cc
@@ -2328,7 +2328,7 @@ bool XPFrame::UpdateChildViewAndLayout(ChromeViews::View* new_view,
} else if (new_view && *view) {
// The view changed, but the new view wants the same size, give it the
// bounds of the last view and have it repaint.
- new_view->SetBounds((*view)->bounds().ToRECT());
+ new_view->SetBounds((*view)->bounds());
new_view->SchedulePaint();
} else if (new_view) {
DCHECK(new_height == 0);