diff --git a/atom/browser/native_window_views.cc b/atom/browser/native_window_views.cc index 8d7ec3100c..b30317e360 100644 --- a/atom/browser/native_window_views.cc +++ b/atom/browser/native_window_views.cc @@ -545,7 +545,9 @@ gfx::Rect NativeWindowViews::GetBounds() { } gfx::Rect NativeWindowViews::GetContentBounds() { - return window_->GetClientAreaBoundsInScreen(); + gfx::Rect bounds = window_->GetClientAreaBoundsInScreen(); + bounds.set_size(GetContentSize()); + return bounds; } gfx::Size NativeWindowViews::GetContentSize() {