call InvalidateBounds when popup updates

This commit is contained in:
Heilig Benedek 2017-04-09 01:24:09 +02:00
parent 062b1ed43e
commit ff053bbe06

View file

@ -1099,6 +1099,7 @@ void OffScreenRenderWidgetHostView::OnPopupPaint(
const gfx::Rect& damage_rect, const SkBitmap& bitmap) { const gfx::Rect& damage_rect, const SkBitmap& bitmap) {
if (popup_host_view_ && popup_bitmap_.get()) if (popup_host_view_ && popup_bitmap_.get())
bitmap.deepCopyTo(popup_bitmap_.get()); bitmap.deepCopyTo(popup_bitmap_.get());
InvalidateBounds(popup_host_view_->popup_position_);
} }
void OffScreenRenderWidgetHostView::HoldResize() { void OffScreenRenderWidgetHostView::HoldResize() {