From ff053bbe06ba499faab2ecf208cb6e5ff943c6b6 Mon Sep 17 00:00:00 2001 From: Heilig Benedek Date: Sun, 9 Apr 2017 01:24:09 +0200 Subject: [PATCH] call InvalidateBounds when popup updates --- atom/browser/osr/osr_render_widget_host_view.cc | 1 + 1 file changed, 1 insertion(+) diff --git a/atom/browser/osr/osr_render_widget_host_view.cc b/atom/browser/osr/osr_render_widget_host_view.cc index 22cbd7a15c58..b203d0db96cd 100644 --- a/atom/browser/osr/osr_render_widget_host_view.cc +++ b/atom/browser/osr/osr_render_widget_host_view.cc @@ -1099,6 +1099,7 @@ void OffScreenRenderWidgetHostView::OnPopupPaint( const gfx::Rect& damage_rect, const SkBitmap& bitmap) { if (popup_host_view_ && popup_bitmap_.get()) bitmap.deepCopyTo(popup_bitmap_.get()); + InvalidateBounds(popup_host_view_->popup_position_); } void OffScreenRenderWidgetHostView::HoldResize() {