Index: ui/views/controls/native/native_view_host_aura.cc |
diff --git a/ui/views/controls/native/native_view_host_aura.cc b/ui/views/controls/native/native_view_host_aura.cc |
index 3648a47778b25870c570495b2d4524fde276b829..3b51935a65930b11a5589521dfb40a541ba83eb4 100644 |
--- a/ui/views/controls/native/native_view_host_aura.cc |
+++ b/ui/views/controls/native/native_view_host_aura.cc |
@@ -199,7 +199,7 @@ NativeViewHostWrapper* NativeViewHostWrapper::CreateWrapper( |
void NativeViewHostAura::AddClippingWindow() { |
RemoveClippingWindow(); |
- gfx::Rect bounds = host_->native_view()->bounds(); |
+ gfx::Rect bounds = host_->GetVisibleBounds(); |
host_->native_view()->SetProperty(aura::client::kHostWindowKey, |
host_->GetWidget()->GetNativeView()); |
Widget::ReparentNativeView(host_->native_view(), |