Index: content/browser/renderer_host/render_widget_host_view_base.cc |
diff --git a/content/browser/renderer_host/render_widget_host_view_base.cc b/content/browser/renderer_host/render_widget_host_view_base.cc |
index 8347b6d57fa0e6a66ff7b3e4051fb76b87162380..280b80341739dcdba3a48445172de810d7e85c9e 100644 |
--- a/content/browser/renderer_host/render_widget_host_view_base.cc |
+++ b/content/browser/renderer_host/render_widget_host_view_base.cc |
@@ -292,7 +292,8 @@ void RenderWidgetHostViewBase::MovePluginWindowsHelper( |
// Note: System will own the hrgn after we call SetWindowRgn, |
// so we don't need to call DeleteObject(hrgn) |
- ::SetWindowRgn(window, hrgn, !move.clip_rect.IsEmpty()); |
+ ::SetWindowRgn(window, hrgn, |
+ !move.clip_rect.IsEmpty() && (flags & SWP_NOREDRAW) == 0); |
#if defined(USE_AURA) |
// When using the software compositor, if the clipping rectangle is empty |