diff options
Diffstat (limited to 'views')
-rw-r--r-- | views/view.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/views/view.cc b/views/view.cc index ace1fcd..571395a 100644 --- a/views/view.cc +++ b/views/view.cc @@ -1169,7 +1169,7 @@ void View::PaintComposite() { } void View::SchedulePaintInternal(const gfx::Rect& rect) { - if (parent_) { + if (parent_ && parent_->IsVisible()) { // Translate the requested paint rect to the parent's coordinate system // then pass this notification up to the parent. parent_->SchedulePaintInternal(ConvertRectToParent(rect)); |