diff options
Diffstat (limited to 'chrome/browser/native_ui_contents.cc')
-rw-r--r-- | chrome/browser/native_ui_contents.cc | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/chrome/browser/native_ui_contents.cc b/chrome/browser/native_ui_contents.cc index 52e09076..d8098bb 100644 --- a/chrome/browser/native_ui_contents.cc +++ b/chrome/browser/native_ui_contents.cc @@ -197,10 +197,8 @@ void NativeUIContents::OnWindowPosChanged(WINDOWPOS* position) { SetMsgHandled(FALSE); } -void NativeUIContents::GetContainerBounds(gfx::Rect *out) const { - CRect r; - GetBounds(&r, false); - *out = r; +void NativeUIContents::GetContainerBounds(gfx::Rect* out) const { + GetBounds(out, false); } void NativeUIContents::SetPageState(PageState* page_state) { |