Index: ui/aura/root_window_host_linux.cc |
diff --git a/ui/aura/root_window_host_linux.cc b/ui/aura/root_window_host_linux.cc |
index 9cdef7c07418010704470f472f9c032d3aca53be..04f7587d7801086615678f0494fcee2fbf0601d9 100644 |
--- a/ui/aura/root_window_host_linux.cc |
+++ b/ui/aura/root_window_host_linux.cc |
@@ -820,11 +820,6 @@ void RootWindowHostLinux::SetBounds(const gfx::Rect& bounds) { |
bool size_changed = bounds_.size() != bounds.size() || |
current_scale != new_scale; |
- if (!size_changed) { |
- root_window_->SchedulePaintInRect(root_window_->bounds()); |
- return; |
- } |
- |
if (bounds.size() != bounds_.size()) |
XResizeWindow(xdisplay_, xwindow_, bounds.width(), bounds.height()); |
@@ -839,6 +834,8 @@ void RootWindowHostLinux::SetBounds(const gfx::Rect& bounds) { |
bounds_ = bounds; |
if (size_changed) |
root_window_->OnHostResized(bounds.size()); |
+ else |
+ root_window_->SchedulePaintInRect(root_window_->bounds()); |
} |
gfx::Point RootWindowHostLinux::GetLocationOnNativeScreen() const { |