diff options
Diffstat (limited to 'chrome/renderer')
-rw-r--r-- | chrome/renderer/render_widget.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/chrome/renderer/render_widget.cc b/chrome/renderer/render_widget.cc index 01c7b26..3252097 100644 --- a/chrome/renderer/render_widget.cc +++ b/chrome/renderer/render_widget.cc @@ -287,7 +287,7 @@ void RenderWidget::OnWasRestored(bool needs_repainting) { set_next_paint_is_restore_ack(); // Generate a full repaint. - if (needs_repainting && !webwidget_->isAcceleratedCompositingActive()) { + if (!webwidget_->isAcceleratedCompositingActive()) { didInvalidateRect(gfx::Rect(size_.width(), size_.height())); } else { scheduleComposite(); |