diff options
Diffstat (limited to 'chrome/browser/external_tab_container.cc')
-rw-r--r-- | chrome/browser/external_tab_container.cc | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/chrome/browser/external_tab_container.cc b/chrome/browser/external_tab_container.cc index b52da83..b074746 100644 --- a/chrome/browser/external_tab_container.cc +++ b/chrome/browser/external_tab_container.cc @@ -235,8 +235,11 @@ void ExternalTabContainer::Observe(NotificationType type, } } -void ExternalTabContainer::GetBounds(CRect *out, bool including_frame) const { - GetWindowRect(out); +void ExternalTabContainer::GetBounds(gfx::Rect* out, + bool including_frame) const { + CRect crect; + GetWindowRect(&crect); + *out = gfx::Rect(crect); } void ExternalTabContainer::MoveToFront(bool should_activate) { |